fix log for modules

main
famos0 2023-03-22 10:36:08 +01:00 committed by Marshall Hallenbeck
parent 50d5014a58
commit 4a05a33fe9
1 changed files with 2 additions and 0 deletions

View File

@ -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