Update for an Issue #225

This commit is contained in:
Miroslav Stampar
2012-10-30 01:26:19 +01:00
parent 969259607c
commit 7c7aff12c6
2 changed files with 3 additions and 1 deletions

View File

@@ -786,6 +786,7 @@ def readInput(message, default=None, checkBatch=True):
kb.prependFlag = False
try:
data = raw_input() or default
data = getUnicode(data, system=True) if data else data
except:
time.sleep(0.05) # Reference: http://www.gossamer-threads.com/lists/python/python/781893
kb.prependFlag = True