summaryrefslogtreecommitdiffstats
path: root/fb.py
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-03-28 00:03:18 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-03-28 00:03:18 +0200
commit79470d9defec44fa7308d97f316d0561dabdf94d (patch)
tree2c198aaec2b36d40203cf068cda60c1620135998 /fb.py
parent82691d3777eeaa958574f73ebba68af4856434c0 (diff)
Clean up already fixed FIXME
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'fb.py')
-rwxr-xr-xfb.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/fb.py b/fb.py
index eab36d7..6e567e9 100755
--- a/fb.py
+++ b/fb.py
@@ -620,7 +620,6 @@ class FBClient:
if arg.startswith(self.config['pastebin']):
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.strip("/")))
self.curlw.dl_file(arg, outfile)
return File(outfile)