A login fix

This commit is contained in:
Manuel Cortez 2015-03-19 04:56:29 -06:00
parent 9256a5f981
commit 977ffacd27

View File

@ -127,6 +127,7 @@ class Session(object):
self.twitter.login(self.settings["twitter"]["user_key"], self.settings["twitter"]["user_secret"], verify_credentials) self.twitter.login(self.settings["twitter"]["user_key"], self.settings["twitter"]["user_secret"], verify_credentials)
self.logged = True self.logged = True
log.debug("Logged.") log.debug("Logged.")
self.counter = 0
else: else:
self.logged = False self.logged = False
raise Exceptions.RequireCredentialsSessionError raise Exceptions.RequireCredentialsSessionError