mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 19:28:09 -06:00
Twitter: Ignores twitter sessions if login doesn't work
This commit is contained in:
parent
310ba003c9
commit
09650f588a
@ -145,8 +145,8 @@ class Session(base.baseSession):
|
||||
self.logged = True
|
||||
log.debug("Logged.")
|
||||
self.counter = 0
|
||||
except IOError:
|
||||
log.error("The login attempt failed.")
|
||||
except Exception as e:
|
||||
log.exception("The login attempt failed.")
|
||||
self.logged = False
|
||||
else:
|
||||
self.logged = False
|
||||
|
Loading…
Reference in New Issue
Block a user