summaryrefslogtreecommitdiffstats
path: root/fb
diff options
context:
space:
mode:
Diffstat (limited to 'fb')
-rwxr-xr-xfb2
1 files changed, 1 insertions, 1 deletions
diff --git a/fb b/fb
index bced69f..98a5256 100755
--- a/fb
+++ b/fb
@@ -34,7 +34,7 @@ def do_upload(file, extension=None):
url = Popen(merge([['curl', '-#', '-n', '-L', '-F', 'file=@%s' % file,
], curl_args, ['http://paste.xinu.at/file/do_upload']]),
- stdout=PIPE).communicate()[0]
+ stdout=PIPE).communicate()[0].rstrip()
print url
Popen('echo -n "%s" | nohup >/dev/null xclip 2>&1' % url, shell=True)