summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-04-11 09:46:50 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-04-11 09:46:50 +0200
commit3a7de3702e36b8cac2a80d979fdb928efcd77746 (patch)
treefc3bca43984ae29acfb58a40fe2e7ed7bd37e17a
parentb39db41bd813b625fb897db34566f31f07d36836 (diff)
Comment FBClient.upload_files
Not sure why I only wrote a comment for this one, but better commit than discard it. Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xfb.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/fb.py b/fb.py
index 6494273..a891572 100755
--- a/fb.py
+++ b/fb.py
@@ -535,6 +535,12 @@ class FBClient:
return dest
def upload_files(self, files):
+ """
+ Upload files and create multipaste if multiple files are uploaded.
+
+ Args:
+ files: List of File objects to upload
+ """
upload_files = []
for file in files:
if file.should_upload():