Skip to content

Commit

Permalink
fixing data type check
Browse files Browse the repository at this point in the history
  • Loading branch information
PhillipsOwen committed Sep 16, 2022
1 parent 715eb5a commit b3aa3d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supervisor/src/job_supervisor.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def get_config(self) -> dict:
config_data = None

# make sure we got something
if db_data != 1:
if not isinstance(db_data, int):
# get the data looking like something we are used to
config_data = {list(x)[0]: x.get(list(x)[0]) for x in db_data}

Expand Down

0 comments on commit b3aa3d2

Please sign in to comment.