From c9b967b9d0c5a6a64f0781f729602c46603711ea Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sun, 15 Oct 2023 11:44:06 +0200 Subject: [PATCH] Changed env var prefix #405 --- bot/src/bot/startup_settings_extension.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/src/bot/startup_settings_extension.py b/bot/src/bot/startup_settings_extension.py index caf34f19..ea5cfbca 100644 --- a/bot/src/bot/startup_settings_extension.py +++ b/bot/src/bot/startup_settings_extension.py @@ -17,7 +17,7 @@ class StartupSettingsExtension(StartupExtensionABC): def configure_configuration(self, configuration: ConfigurationABC, environment: ApplicationEnvironmentABC): # this shit has to be done here because we need settings in subsequent startup extensions environment.set_working_directory(os.path.dirname(os.path.realpath(__file__))) - configuration.add_environment_variables("KDB_") + configuration.add_environment_variables("SDB_") configuration.add_environment_variables("DISCORD_") configuration.add_json_file(f"config/appsettings.json", optional=False)