Minor console output fix (redundant newline has been displayed in case of rawInput)

This commit is contained in:
Miroslav Stampar 2012-08-22 14:43:57 +02:00
parent d7cf0de090
commit a6d743ec4c

View File

@ -794,6 +794,7 @@ def readInput(message, default=None, checkBatch=True):
else:
logging._acquireLock()
dataToStdout("\r%s" % message, forceOutput=True, bold=True)
kb.prependFlag = False
data = raw_input() or default
#data = raw_input(message.encode(sys.stdout.encoding or UNICODE_ENCODING))
logging._releaseLock()