diff options
author | Florian Pritz <bluewind@xssn.at> | 2009-09-02 19:21:04 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2009-09-02 19:21:04 +0200 |
commit | 4a6730b7032199229c93fb25fb857c00977676a1 (patch) | |
tree | 6aef265c68a5348fa21ce430933d008449cb673d /fb | |
parent | c5536b6527c37da68436a29459e35724aa679e46 (diff) | |
download | bin-4a6730b7032199229c93fb25fb857c00977676a1.tar.gz bin-4a6730b7032199229c93fb25fb857c00977676a1.tar.xz |
fb: fix tmpfile name
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'fb')
-rwxr-xr-x | fb | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -72,6 +72,7 @@ def read_stdin(): if not content: sys.exit() tmpfile = Popen('mktemp', stdout=PIPE).communicate()[0] + tmpfile = tmpfile.replace('\n', '') f = open(tmpfile, 'w') f.write(content) f.close() |