summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fb.py b/fb.py
index 7497ee2..44b4461 100755
--- a/fb.py
+++ b/fb.py
@@ -603,7 +603,7 @@ class FBClient:
return
if os.stat(file.path)[6] == 0:
- file = self.create_temp_copy(file.path)
+ file.path = self.create_temp_copy(file.path)
if os.path.isdir(file.path):
file.path = self.create_tarball(file.path)