diff --git a/rand_readwrite.py b/rand_readwrite.py index 0851948..c56a249 100755 --- a/rand_readwrite.py +++ b/rand_readwrite.py @@ -90,7 +90,7 @@ def writer(seconds, bucket, name=None, queue=None, quantity=1, file_size=1, file queue.put(Result(name, type=Result.TYPE_WRITER, time=elapsed, - size=sum((file.size/1024) for file in files), + size=sum((f.size/1024) for f in files), ) )