Skip to content

Request Mail Check crashes d-rats #195

@wb8tyw

Description

@wb8tyw

In the Stations pane, right clicking on a station for a station and selecting Request Mail Check crashed D-rats.

Traceback (most recent call last):

  File "/mnt/aviary/home/malmberg/work/d-rats/D-Rats/d_rats/ui/main_stations.py", line 389, in _mh
    vals = prompt_for_account(self._config)

  File "/mnt/aviary/home/malmberg/work/d-rats/D-Rats/d_rats/ui/main_stations.py", line 71, in prompt_for_account
    default = accounts.keys()[0]

TypeError: 'dict_keys' object is not subscriptable

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions