mirror of https://github.com/ekimekim/wubloader
Adding in stuff to hopefully get this to run
parent
013ad65c68
commit
1fcd9b5b36
@ -0,0 +1,14 @@
|
|||||||
|
|
||||||
|
import gevent.monkey
|
||||||
|
gevent.monkey.patch_all()
|
||||||
|
|
||||||
|
import logging
|
||||||
|
|
||||||
|
import argh
|
||||||
|
|
||||||
|
from backfiller.main import main
|
||||||
|
|
||||||
|
LOG_FORMAT = "[%(asctime)s] %(levelname)8s %(name)s(%(module)s:%(lineno)d): %(message)s"
|
||||||
|
|
||||||
|
logging.basicConfig(level=logging.INFO, format=LOG_FORMAT)
|
||||||
|
argh.dispatch_command(main)
|
Loading…
Reference in New Issue