fix log for modules
parent
50d5014a58
commit
4a05a33fe9
|
@ -12,6 +12,8 @@ class Context:
|
||||||
setattr(self, key, value)
|
setattr(self, key, value)
|
||||||
|
|
||||||
self.db = db
|
self.db = db
|
||||||
|
self.log = logger
|
||||||
|
self.log.debug = logging.debug
|
||||||
self.log_folder_path = os.path.join(os.path.expanduser('~/.cme'), 'logs')
|
self.log_folder_path = os.path.join(os.path.expanduser('~/.cme'), 'logs')
|
||||||
self.localip = None
|
self.localip = None
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue