Fix Logwatcher

This commit is contained in:
VirtuBox
2019-10-12 13:34:45 +02:00
parent 9d5072c751
commit a0cba85156
2 changed files with 4 additions and 3 deletions

View File

@@ -1054,7 +1054,7 @@ def logwatch(self, logfiles):
import zlib
import base64
import time
from wo.core import logwatch
from wo.core.logwatch import LogWatcher
def callback(filename, lines):
for line in lines:
@@ -1071,7 +1071,7 @@ def logwatch(self, logfiles):
'caught exception rendering a new log line in %s'
% filename)
logl = logwatch.LogWatcher(logfiles, callback)
logl = LogWatcher(logfiles, callback)
logl.loop()