From 613777d16619859570bd1f405508e988577aeff6 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Sun, 6 Dec 2020 19:23:13 -0500 Subject: [PATCH] Make sure this one is bytes too --- src/allmydata/scripts/debug.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/scripts/debug.py b/src/allmydata/scripts/debug.py index fd3f2b87c..b6d10c438 100644 --- a/src/allmydata/scripts/debug.py +++ b/src/allmydata/scripts/debug.py @@ -607,7 +607,7 @@ class FindSharesOptions(BaseOptions): def parseArgs(self, storage_index_s, *nodedirs): 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) description = """