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:
parent
725291c2aa
commit
338ee89e63
|
@ -670,7 +670,7 @@ class Helper(Referenceable):
|
||||||
return (None, uh)
|
return (None, uh)
|
||||||
|
|
||||||
def _make_chk_upload_helper(self, storage_index, lp):
|
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)
|
incoming_file = os.path.join(self._chk_incoming, si_s)
|
||||||
encoding_file = os.path.join(self._chk_encoding, si_s)
|
encoding_file = os.path.join(self._chk_encoding, si_s)
|
||||||
uh = self.chk_upload(
|
uh = self.chk_upload(
|
||||||
|
|
Loading…
Reference in New Issue