summaryrefslogtreecommitdiff
path: root/demoscript/Util.py
diff options
context:
space:
mode:
Diffstat (limited to 'demoscript/Util.py')
-rw-r--r--demoscript/Util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/demoscript/Util.py b/demoscript/Util.py
index dd3adda9786..ebe8fa3704a 100644
--- a/demoscript/Util.py
+++ b/demoscript/Util.py
@@ -65,10 +65,10 @@ class filereader(Expect.reader):
try:
while True:
c = self.p.read(1)
- if c == '':
+ if not c:
time.sleep(0.1)
continue
- if not c: break
+
if c == '\r': continue
self.cv.acquire()
try: