why would written_bytes ever be False?

This commit is contained in:
Alex Grintsvayg 2017-09-12 16:00:32 -04:00
parent 810089cd99
commit 8681686395

View file

@ -819,7 +819,7 @@ class Daemon(AuthJSONRPCServer):
written_file.seek(0, os.SEEK_END)
written_bytes = written_file.tell()
else:
written_bytes = False
written_bytes = 0
if full_status:
size = yield lbry_file.get_total_bytes()