summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-03-27 23:59:14 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-03-27 23:59:14 +0200
commitd57885c8f0d2c7fb80001be19bdcac8101506875 (patch)
tree70eb572bd1cc4536454aa55ff83bafc4939f6995
parent65745588bdee6aca07e56ca66ece41cb5a2358ed (diff)
Improve naming for FBClient.dl_file
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-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)