This commit is contained in:
meejah 2020-11-13 18:40:44 -07:00
parent b6fbfeee48
commit 32b19fa4d0
2 changed files with 1 additions and 3 deletions

View File

@ -65,7 +65,7 @@ def load_grid_manager(config_path, config_location):
config_file = config_path.child("config.json").open("r")
except IOError:
raise ValueError(
"'{}' is not a Grid Manager config-directory".format(config)
"'{}' is not a Grid Manager config-directory".format(config_path)
)
with config_file:
config = json.load(config_file)

View File

@ -41,9 +41,7 @@ if PY2:
import re
import time
import json
import hashlib
from datetime import datetime
# On Python 2 this will be the backport.
from configparser import NoSectionError