rm obsolete print

This commit is contained in:
Moon 2025-06-14 05:57:01 +09:00
parent 1a35750d0a
commit 24bfe88dc1

View file

@ -64,7 +64,7 @@ def get_db_path() -> str | DBNotFoundError:
raise ConfigError(f'Could not find {config_path}') raise ConfigError(f'Could not find {config_path}')
print(f'Running in "{env}" mode') print(f'Running in "{env}" mode')
config = ConfigParser() config = ConfigParser()
config.read(config_path) config.read(config_path)
db_path = config['application']['DatabaseLocation'] db_path = config['application']['DatabaseLocation']
@ -94,7 +94,6 @@ def main():
return return
except KemoverseEnvUnset: except KemoverseEnvUnset:
print('Error: KEMOVERSE_ENV is either not set or has an invalid value.') 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()) print(traceback.format_exc())
return return