summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--realtime/rt/rt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/realtime/rt/rt.py b/realtime/rt/rt.py
index d1d01ad8..c0aec410 100644
--- a/realtime/rt/rt.py
+++ b/realtime/rt/rt.py
@@ -349,7 +349,7 @@ class RealtimeTranslator:
# Filename, StringIO, or None (stdin)
if file_or_stringio:
if isinstance(file_or_stringio, StringIO.StringIO):
- input = file_or_stringio.getvalue()
+ input = file_or_stringio
else:
input = open(file_or_stringio)
else: