summaryrefslogtreecommitdiffstats
path: root/fb.py
diff options
context:
space:
mode:
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