npcole / npyscreen

Automatically exported from code.google.com/p/npyscreen
Other
481 stars 109 forks source link

Exception ''TypeError: unhashable type: 'dict'' in remove_event_handler #118

Open THemmecke opened 3 years ago

THemmecke commented 3 years ago

The statement

self.event_handlers.pop({})

in remove_event_handler (eventhandler.py) throws an exeption because of the dict argument in the pop statement. Should this instead read:

self.event_handlers.pop(event_name)

?