rm check for env dev or prod so any can be used

This commit is contained in:
Moon 2025-06-14 04:43:43 +09:00
parent 1984b67523
commit fdf21b3f5f

View file

@ -13,8 +13,6 @@ def get_config_file() -> str:
env: str | None = environ.get('KEMOVERSE_ENV')
if not env:
raise ConfigError('Error: KEMOVERSE_ENV is unset')
if not (env in ['prod', 'dev']):
raise ConfigError(f'Error: Invalid environment: {env}')
config_path: str = f'config_{env}.ini'