summaryrefslogtreecommitdiffstats
path: root/fb
diff options
context:
space:
mode:
Diffstat (limited to 'fb')
-rwxr-xr-xfb1
1 files changed, 1 insertions, 0 deletions
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()