Small comment updates

This commit is contained in:
A.M. Rowsell 2025-06-20 14:14:47 -04:00
commit 1abda8d6e4
Signed by untrusted user who does not match committer: amr
GPG key ID: E0879EDBDB0CA7B1

View file

@ -66,12 +66,13 @@ class Discorss:
desc = desc + str(addons)
return desc
# Some of this could go in __init__
def setup(self):
os.environ["TZ"] = "America/Toronto"
time.tzset()
self.now = time.mktime(time.localtime())
# Check for log and config files/paths, create empty directories if needed
# TODO: make this cleaner
# TODO: change output to log file, as warning/error
if not Path(self.log_dir).exists():
print(
"No log file path exists. Yark! We'll try and make {}...".format(