diff --git a/setup_db.py b/setup_db.py index ae73c03..f1e9085 100644 --- a/setup_db.py +++ b/setup_db.py @@ -64,7 +64,7 @@ def get_db_path() -> str | DBNotFoundError: raise ConfigError(f'Could not find {config_path}') print(f'Running in "{env}" mode') - + config = ConfigParser() config.read(config_path) db_path = config['application']['DatabaseLocation'] @@ -94,7 +94,6 @@ def main(): return except KemoverseEnvUnset: print('Error: KEMOVERSE_ENV is either not set or has an invalid value.') - print('Please set KEMOVERSE_ENV to either "dev" or "prod" before running.') print(traceback.format_exc()) return