...it's "loop" that is false to stop looping, not "login".
#!/usr/bin/env python3
-# Copyright (C) 2018 Genome Research Limited
+# Copyright (C) 2018,2021 Genome Research Limited
#
# Author: Matthew Vernon <mv3@sanger.ac.uk>
#
gcal_account = gcal_login(args)
gcal_tz = get_gcal_timezone(gcal_account,gcal_id)
- #Main loop (broken at the end if login is false)
+ #Main loop (broken at the end if loop is false)
while True:
try:
with open(cachepath,"rb") as f: