diff --git a/src/index.py b/src/index.py index 3ad41bf..34b83e1 100644 --- a/src/index.py +++ b/src/index.py @@ -29,10 +29,8 @@ def get(self): if __name__ == "__main__": - from tornado.options import options - logger = logging.getLogger("routine") - + options.parse_command_line() if not options.debug and options.prod: crontab("0 0 * * *", func=run_routine, start=True) logger.info("Crontab configured successfully.")