Make sure this one is bytes too

This commit is contained in:
Jean-Paul Calderone 2020-12-06 19:23:13 -05:00
parent 5aee8b422d
commit 613777d166

View File

@ -607,7 +607,7 @@ class FindSharesOptions(BaseOptions):
def parseArgs(self, storage_index_s, *nodedirs): def parseArgs(self, storage_index_s, *nodedirs):
from allmydata.util.encodingutil import argv_to_abspath from allmydata.util.encodingutil import argv_to_abspath
self.si_s = storage_index_s self.si_s = storage_index_s.encode("ascii")
self.nodedirs = map(argv_to_abspath, nodedirs) self.nodedirs = map(argv_to_abspath, nodedirs)
description = """ description = """