mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 19:41:32 +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:
|
try:
|
||||||
self._monitor.stop()
|
self._monitor.stop()
|
||||||
except KeyError:
|
except KeyError:
|
||||||
logging.debug('Working directory was removed – ignoring...')
|
LOG.debug('Working directory was removed – ignoring...')
|
||||||
self._monitor = DirectoryMonitor(self._directory)
|
self._monitor = DirectoryMonitor(self._directory)
|
||||||
self._monitor.watch() # This runs on a separate thread
|
self._monitor.watch() # This runs on a separate thread
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@ class WebideEventHandler(TriggerlessEventHandler):
|
|||||||
try:
|
try:
|
||||||
self._monitor.stop()
|
self._monitor.stop()
|
||||||
except KeyError:
|
except KeyError:
|
||||||
logging.debug('Working directory was removed – ignoring...')
|
LOG.debug('Working directory was removed – ignoring...')
|
||||||
self._monitor = DirectoryMonitor(self.filemanager.workdir)
|
self._monitor = DirectoryMonitor(self.filemanager.workdir)
|
||||||
self._monitor.watch() # This runs on a separate thread
|
self._monitor.watch() # This runs on a separate thread
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user