From 4a6730b7032199229c93fb25fb857c00977676a1 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 2 Sep 2009 19:21:04 +0200 Subject: fb: fix tmpfile name Signed-off-by: Florian Pritz --- fb | 1 + 1 file changed, 1 insertion(+) diff --git a/fb b/fb index d57a4d3..1fd5c34 100755 --- a/fb +++ b/fb @@ -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() -- cgit v1.2.3-24-g4f1b