diff options
author | Florian Pritz <bluewind@xssn.at> | 2010-05-02 11:04:56 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2010-05-02 11:04:56 +0200 |
commit | 323c00311d2f90cb7a82286d037ee5fc8c09f960 (patch) | |
tree | bdc913cebbe347620a2ce600a87efa71dfd36a45 | |
parent | 40e84c5d06b3a23b42c6bd9733362674510615cb (diff) | |
download | bin-323c00311d2f90cb7a82286d037ee5fc8c09f960.tar.gz bin-323c00311d2f90cb7a82286d037ee5fc8c09f960.tar.xz |
fb: remove \n from URL
Signed-off-by: Florian Pritz <bluewind@xssn.at>
-rwxr-xr-x | fb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |