summaryrefslogtreecommitdiffstats
path: root/fb.py
diff options
context:
space:
mode:
Diffstat (limited to 'fb.py')
-rwxr-xr-xfb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fb.py b/fb.py
index 60cbe95..2f2735b 100755
--- a/fb.py
+++ b/fb.py
@@ -610,11 +610,11 @@ class FBClient:
return self.multipaste(ids)
# TODO: detect paste URLs and add their IDs to a multipaste
- files = [self.dl_file(arg) for arg in self.args.args]
+ files = [self.containerize_arg(arg) for arg in self.args.args]
self.upload_files(files)
return
- def dl_file(self, arg):
+ def containerize_arg(self, arg):
if re.match('id://', arg):
id = arg.replace('id://', '')
return Paste(id)