Exit on authentication failure (fixes #8)
parent
03cc1f75b7
commit
79bbdab3fc
|
@ -308,6 +308,7 @@ def main():
|
|||
})
|
||||
if result.url.endswith("/accounts/login/"):
|
||||
logging.info("Authentication failed")
|
||||
sys.exit(-1)
|
||||
else:
|
||||
logging.info("Authentication successful")
|
||||
|
||||
|
|
Loading…
Reference in New Issue