diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-11-09 18:30:39 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-11-09 18:30:39 +0100 |
commit | 7c60034b9823d3b751900c5360c629b44d5572b7 (patch) | |
tree | fa0ce6471149faa3178536518e0882a4e6b2e6c1 /fb.py | |
parent | 64d1ded5bf1e86c896a4520626df1a7628203e16 (diff) |
Save temp file in tempdir
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'fb.py')
-rwxr-xr-x | fb.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -573,7 +573,7 @@ class FBClient: def dl_file(self, arg): if re.match('https?://', arg): - outfile = os.path.basename(arg) + outfile = os.path.join(self.tempdir, os.path.basename(arg)) self.curlw.dl_file(arg, outfile) return outfile |