diff options
Diffstat (limited to 'fb.py')
-rwxr-xr-x | fb.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -622,7 +622,7 @@ class FBClient: return Paste(self.extractId(arg)) if re.match('https?://', arg): # FIXME: this does not work with URLs ending in / and it does not use content-disposition - outfile = os.path.join(self.tempdir, os.path.basename(arg)) + outfile = os.path.join(self.tempdir, os.path.basename(arg.strip("/"))) self.curlw.dl_file(arg, outfile) return File(outfile) |