ascii -> utf8

This commit is contained in:
meejah 2020-05-07 15:27:47 -06:00
parent dfa8b37a15
commit 85d8e24421
1 changed files with 1 additions and 1 deletions

View File

@ -419,7 +419,7 @@ def _load_grid_manager_certificates(config):
cert_fnames = list(config.enumerate_section("grid_manager_certificates").values()) cert_fnames = list(config.enumerate_section("grid_manager_certificates").values())
for fname in cert_fnames: for fname in cert_fnames:
fname = config.get_config_path(fname.decode('ascii')) fname = config.get_config_path(fname.decode('utf8'))
if not os.path.exists(fname): if not os.path.exists(fname):
raise ValueError( raise ValueError(
"Grid Manager certificate file '{}' doesn't exist".format( "Grid Manager certificate file '{}' doesn't exist".format(