summaryrefslogtreecommitdiffstats
path: root/toprammer
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2010-02-15 19:56:57 +0100
committerMichael Buesch <mb@bu3sch.de>2010-02-15 19:56:57 +0100
commitb7b8291a54b166e8d1e6565099288f8813100632 (patch)
treef32ff0416f049f6445fe877fa485c2c4615a636e /toprammer
parente53bc13c41d163ff851e3346a3611a43c63d9b3f (diff)
downloadtoprammer-b7b8291a54b166e8d1e6565099288f8813100632.tar.xz
toprammer-b7b8291a54b166e8d1e6565099288f8813100632.zip
Fix input processing
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Diffstat (limited to 'toprammer')
-rwxr-xr-xtoprammer2
1 files changed, 1 insertions, 1 deletions
diff --git a/toprammer b/toprammer
index ab20ee8..d3ceb49 100755
--- a/toprammer
+++ b/toprammer
@@ -609,7 +609,7 @@ def fileOut(filename, format, data):
def fileIn(filename, format):
if filename == "-":
- pass#TODO
+ data = sys.stdin.read()
else:
data = file(filename, "rb").read()
if format == "auto":
bues.ch cgit interface