Skip to content

Commit

Permalink
Check session object to address #83
Browse files Browse the repository at this point in the history
  • Loading branch information
epinna committed Jun 6, 2018
1 parent 18bde23 commit 54a53fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,9 @@ def __init__(self, url, password, volatile = False):
log.warn(
messages.generic.error_loading_file_s_s %
(dbpath, str(e)))
else:

if sessiondb and isinstance(sessiondb, dict):

saved_url = sessiondb.get('url')
saved_password = sessiondb.get('password')

Expand Down

0 comments on commit 54a53fe

Please sign in to comment.