|
@@ -93,7 +93,7 @@ def login(username, password, show_cookie_expiry, ignore_existing_cookie):
|
|
|
seperator("GREEN")
|
|
|
sys.exit(99)
|
|
|
|
|
|
- log('[I] Logging in with user "' + api.authenticated_user_name + '" successful.', "GREEN")
|
|
|
+ log('[I] Using cached login cookie for "' + api.authenticated_user_name + '".', "GREEN")
|
|
|
if show_cookie_expiry.title() == 'True' and ignore_existing_cookie == False:
|
|
|
cookie_expiry = api.cookie_jar.expires_earliest
|
|
|
log('[I] Login cookie expiry date: {0!s}'.format(datetime.datetime.fromtimestamp(cookie_expiry).strftime('%Y-%m-%d at %I:%M:%S %p')), "GREEN")
|