mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 05:28:04 +00:00
trivial: use more specific function for ascii-encoding storage index
This commit is contained in:
parent
dd559e96b4
commit
5e90d82a02
@ -537,7 +537,7 @@ class StorageServer(service.MultiService, Referenceable):
|
||||
reason):
|
||||
fileutil.make_dirs(self.corruption_advisory_dir)
|
||||
now = time_format.iso_utc(sep="T")
|
||||
si_s = base32.b2a(storage_index)
|
||||
si_s = si_b2a(storage_index)
|
||||
# windows can't handle colons in the filename
|
||||
fn = os.path.join(self.corruption_advisory_dir,
|
||||
"%s--%s-%d" % (now, si_s, shnum)).replace(":","")
|
||||
|
Loading…
Reference in New Issue
Block a user