Stick with unicode (new str) for file path parts

This seems to be the pattern, e.g.:

https://github.com/tahoe-lafs/tahoe-lafs/blob/master/src/allmydata/client.py#L229
This commit is contained in:
Chad Whitacre 2020-10-23 12:52:32 -04:00
parent 725291c2aa
commit 338ee89e63
1 changed files with 1 additions and 1 deletions

View File

@ -670,7 +670,7 @@ class Helper(Referenceable):
return (None, uh)
def _make_chk_upload_helper(self, storage_index, lp):
si_s = si_b2a(storage_index)
si_s = si_b2a(storage_index).decode('ascii')
incoming_file = os.path.join(self._chk_incoming, si_s)
encoding_file = os.path.join(self._chk_encoding, si_s)
uh = self.chk_upload(