mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 14:11:31 +00:00
Update old logging code to use TFW global logging
This commit is contained in:
parent
c33a2f8103
commit
512a965328
@ -40,7 +40,7 @@ class DirectoryMonitoringEventHandler(TriggerlessEventHandler):
|
||||
try:
|
||||
self._monitor.stop()
|
||||
except KeyError:
|
||||
logging.debug('Working directory was removed – ignoring...')
|
||||
LOG.debug('Working directory was removed – ignoring...')
|
||||
self._monitor = DirectoryMonitor(self._directory)
|
||||
self._monitor.watch() # This runs on a separate thread
|
||||
|
||||
|
@ -115,7 +115,7 @@ class WebideEventHandler(TriggerlessEventHandler):
|
||||
try:
|
||||
self._monitor.stop()
|
||||
except KeyError:
|
||||
logging.debug('Working directory was removed – ignoring...')
|
||||
LOG.debug('Working directory was removed – ignoring...')
|
||||
self._monitor = DirectoryMonitor(self.filemanager.workdir)
|
||||
self._monitor.watch() # This runs on a separate thread
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user