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