timesearch/timesearch.py
Ethan Dalool b3db322a78 Rename timesearch directory -> timesearch_modules.
This marks the first in a long series of rename commits.
Hold on to your databases!
2020-01-27 18:32:05 -08:00

12 lines
343 B
Python

import logging
handler = logging.StreamHandler()
log_format = '{levelname}:timesearch.{module}.{funcName}: {message}'
handler.setFormatter(logging.Formatter(log_format, style='{'))
logging.getLogger().addHandler(handler)
import sys
import timesearch_modules
status_code = timesearch_modules.main(sys.argv[1:])
raise SystemExit(status_code)