Minor bug fix

This commit is contained in:
Miroslav Stampar 2012-08-31 19:48:45 +02:00
parent 33980adaef
commit 2170e64ca5

View File

@ -728,7 +728,11 @@ def dataToStdout(data, forceOutput=False, bold=False):
message = stdoutencode(data)
sys.stdout.write(setColor(message, bold))
try:
sys.stdout.flush()
except IOError:
pass
if kb.get("multiThreadMode"):
logging._releaseLock()