why would written_bytes ever be False?
This commit is contained in:
parent
810089cd99
commit
8681686395
1 changed files with 1 additions and 1 deletions
|
@ -819,7 +819,7 @@ class Daemon(AuthJSONRPCServer):
|
||||||
written_file.seek(0, os.SEEK_END)
|
written_file.seek(0, os.SEEK_END)
|
||||||
written_bytes = written_file.tell()
|
written_bytes = written_file.tell()
|
||||||
else:
|
else:
|
||||||
written_bytes = False
|
written_bytes = 0
|
||||||
|
|
||||||
if full_status:
|
if full_status:
|
||||||
size = yield lbry_file.get_total_bytes()
|
size = yield lbry_file.get_total_bytes()
|
||||||
|
|
Loading…
Reference in a new issue