summaryrefslogtreecommitdiffstats
path: root/fb.py
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-04-11 09:44:18 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-04-11 09:44:18 +0200
commit7f96c6a3cb79127480a7dc6f9f1753c853a66969 (patch)
tree549ae619a74e97b6a7ad640efbd244c9cec89f86 /fb.py
parentdfae82ab4d61e3d5a3a09264025345717f4f4373 (diff)
fb.1: Document id://
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'fb.py')
-rwxr-xr-xfb.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/fb.py b/fb.py
index 7c6f7e2..5e6611d 100755
--- a/fb.py
+++ b/fb.py
@@ -97,6 +97,14 @@ class CURLWrapper:
return self.serverConfig
def upload_files(self, files):
+ """
+ Upload files if f.should_upload() for f in files is true.
+
+ Args:
+ files: List of File objects
+ Returns:
+ List of updated File objects
+ """
totalSize = 0
chunks = [[]]
currentChunkSize = 0