fix error when importing

This commit is contained in:
Damien Elmes 2017-12-12 11:55:27 +10:00
parent 576c2b38b2
commit 435afed325

View file

@ -849,6 +849,8 @@ and queue = 0""", intTime(), self.usn())
self._logHnd = open(lpath, "a", encoding="utf8")
def _closeLog(self):
if not self._debugLog:
return
self._logHnd.close()
self._logHnd = None