mirror of https://github.com/ekimekim/wubloader
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
289 B
Python
15 lines
289 B
Python
|
|
import gevent.monkey
|
|
gevent.monkey.patch_all()
|
|
|
|
import logging
|
|
|
|
import argh
|
|
|
|
from downloader.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)
|