mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 13:07:56 +00:00
ftpd file `size' attribute must be an integer
This commit is contained in:
parent
be1fd9d2b5
commit
7f6ee7e918
@ -193,7 +193,7 @@ class Handler:
|
||||
if isdir:
|
||||
value = 0
|
||||
else:
|
||||
value = childnode.get_size()
|
||||
value = childnode.get_size() or 0
|
||||
elif key == "directory":
|
||||
value = isdir
|
||||
elif key == "permissions":
|
||||
|
Loading…
Reference in New Issue
Block a user