diff --git a/discorss.py b/discorss.py index 9d001ce..f6e5962 100755 --- a/discorss.py +++ b/discorss.py @@ -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(