Permalink
Browse files

Fix issue with progress on streaming uploads

Fixes #16
  • Loading branch information...
1 parent d88bfec commit 7c01f0ba38afae0d1f6269e6a4145bdc6ff01b35 @lericson committed Dec 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 simples3/streaming.py
View
@@ -61,7 +61,7 @@ def put_file(self, key, fp, acl=None, metadata={}, progress=None,
headers["Content-Length"] = str(size)
if progress:
- fp = ProgressCallingFile(fp, progress)
+ fp = ProgressCallingFile(fp, int(size), progress)
try:
self.put(key, data=fp, acl=acl, metadata=metadata,

0 comments on commit 7c01f0b

Please sign in to comment.