diff --git a/app/classes/shared/controller.py b/app/classes/shared/controller.py index 805abe5d..54c858eb 100644 --- a/app/classes/shared/controller.py +++ b/app/classes/shared/controller.py @@ -49,7 +49,7 @@ class Controller: continue # if this server path no longer exists - let's warn and bomb out - if not helper.check_path_exits(s['path']): + if not helper.check_path_exists(s['path']): logger.warning("Unable to find server {} at path {}. Skipping this server".format(s['server_name'], s['path'])) diff --git a/app/classes/shared/helpers.py b/app/classes/shared/helpers.py index 46e2e4e4..3cba2eea 100644 --- a/app/classes/shared/helpers.py +++ b/app/classes/shared/helpers.py @@ -272,7 +272,7 @@ class Helpers: return "%.1f%s%s" % (num, 'Y', suffix) @staticmethod - def check_path_exits(path: str): + def check_path_exists(path: str): logger.debug('Looking for path: {}'.format(path)) if os.path.exists(path): @@ -463,13 +463,21 @@ class Helpers: print(filename) rel = os.path.join(folder, raw_filename) if os.path.isdir(rel): - output += '
  • \n{}\n