mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
uri.py: share counts are not base32-encoded
This commit is contained in:
parent
f5a49aa7ee
commit
2593ce42c3
@ -21,8 +21,8 @@ def unpack_uri(uri):
|
||||
header, codec_name, codec_params, verifierid_s, roothash_s, needed_shares_s, total_shares_s, size_s, segment_size_s = uri.split(":")
|
||||
verifierid = idlib.a2b(verifierid_s)
|
||||
roothash = idlib.a2b(roothash_s)
|
||||
needed_shares = idlib.a2b(needed_shares_s)
|
||||
total_shares = idlib.a2b(total_shares_s)
|
||||
needed_shares = int(needed_shares_s)
|
||||
total_shares = int(total_shares_s)
|
||||
size = int(size_s)
|
||||
segment_size = int(segment_size_s)
|
||||
return codec_name, codec_params, verifierid, roothash, needed_shares, total_shares, size, segment_size
|
||||
|
Loading…
x
Reference in New Issue
Block a user