Login crashes the application
On a new install of Komikku the app crashes when login to a server. This doesn't happen if I'm already logged in to an other server. It doesn't happen when first trying to login with no username and password filled in.
I tried to login on the following servers with same result:
- crunchyroll
- yieha
- izneo
DB version 5
Traceback (most recent call last):
File "/app/lib/python3.7/site-packages/komikku/settings_dialog.py", line 388, in on_account_stored
server = server_class(username=login, password=password)
File "/app/lib/python3.7/site-packages/komikku/servers/crunchyroll.py", line 45, in __init__
self.init(username, password)
File "/app/lib/python3.7/site-packages/komikku/servers/__init__.py", line 93, in init
self.clear_session()
File "/app/lib/python3.7/site-packages/komikku/servers/__init__.py", line 147, in clear_session
del Server.__sessions[self.id]
KeyError: 'crunchyroll'
Edited by tijder