downloadpath
This commit is contained in:
@@ -6,7 +6,7 @@ from config import Config
|
|||||||
cfg = Config(file(os.path.join(package_directory, 'config.cfg')))
|
cfg = Config(file(os.path.join(package_directory, 'config.cfg')))
|
||||||
#--------------- Logging
|
#--------------- Logging
|
||||||
import logging
|
import logging
|
||||||
download_path="./cdw"
|
|
||||||
file_handler=logging.FileHandler(cfg.logfile)
|
file_handler=logging.FileHandler(cfg.logfile)
|
||||||
file_handler.setLevel(logging.DEBUG)
|
file_handler.setLevel(logging.DEBUG)
|
||||||
stream_handler=logging.StreamHandler(sys.stdout)
|
stream_handler=logging.StreamHandler(sys.stdout)
|
||||||
@@ -18,6 +18,8 @@ clt.addHandler(stream_handler)
|
|||||||
|
|
||||||
clogger=clt
|
clogger=clt
|
||||||
#----------------
|
#----------------
|
||||||
|
download_path=cfg.download_path
|
||||||
|
|
||||||
lg=clt
|
lg=clt
|
||||||
from gevent import spawn, monkey
|
from gevent import spawn, monkey
|
||||||
monkey.patch_all()
|
monkey.patch_all()
|
||||||
|
|||||||
Reference in New Issue
Block a user