Skip to content
Snippets Groups Projects
Commit 6678909e authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Fix config reader

parent bc1c59bd
No related branches found
No related tags found
No related merge requests found
......@@ -176,7 +176,7 @@ class AppConfigReader:
def get_max_run_local(self):
try:
return self.reader.get("cluster", "max_run_local")
return int(self.reader.get("cluster", "max_run_local"))
except (NoOptionError, NoSectionError):
return 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment