commit
0a06696daf
|
@ -9,8 +9,6 @@ class Context:
|
|||
|
||||
def __init__(self, db, logger, args):
|
||||
self.db = db
|
||||
self.log = logger
|
||||
self.log.debug = logging.debug
|
||||
self.log_folder_path = os.path.join(os.path.expanduser('~/.cme'), 'logs')
|
||||
self.localip = None
|
||||
|
||||
|
@ -19,3 +17,6 @@ class Context:
|
|||
|
||||
for key, value in vars(args).items():
|
||||
setattr(self, key, value)
|
||||
|
||||
self.log = logger
|
||||
self.log.debug = logging.debug
|
||||
|
|
Loading…
Reference in New Issue