Minor fix

This commit is contained in:
Miroslav Stampar 2012-12-12 16:45:29 +01:00
parent e381158058
commit fc4be0a77c

View File

@ -1518,7 +1518,8 @@ def clearConsoleLine(forceOutput=False):
Clears current console line Clears current console line
""" """
dataToStdout("\r%s\r" % (" " * (getConsoleWidth() - 1)), forceOutput) if getattr(LOGGER_HANDLER, "is_tty", False):
dataToStdout("\r%s\r" % (" " * (getConsoleWidth() - 1)), forceOutput)
kb.prependFlag = False kb.prependFlag = False
kb.stickyLevel = None kb.stickyLevel = None