From f4cf05cd8dd5d59713fad8be967fc2f87167e213 Mon Sep 17 00:00:00 2001 From: Jonathan Weth Date: Mon, 28 Jun 2021 12:59:11 +0200 Subject: Drop dynaconf support --- rwa/support/sessionservice/config.py | 5 ----- rwa/support/sessionservice/service.py | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'rwa/support/sessionservice') diff --git a/rwa/support/sessionservice/config.py b/rwa/support/sessionservice/config.py index 4f39a4e..de5518d 100644 --- a/rwa/support/sessionservice/config.py +++ b/rwa/support/sessionservice/config.py @@ -24,11 +24,6 @@ # along with this program. If not, see . import usersettings -from dynaconf import Dynaconf - -settings = Dynaconf( - envvar_prefix="RWA", settings_files=["/etc/rwa/support/sessionservice/settings.toml"] -) user_settings = usersettings.Settings("org.ArcticaProject.RWASupportSessionService") user_settings.add_setting("web_app_hosts", list, ["http://127.0.0.1:8000"]) diff --git a/rwa/support/sessionservice/service.py b/rwa/support/sessionservice/service.py index e3ca5a1..52bf627 100755 --- a/rwa/support/sessionservice/service.py +++ b/rwa/support/sessionservice/service.py @@ -321,7 +321,7 @@ class RWASupportSessionService(dbus.service.Object): return False def _stop_all(self): - """Stop all sessions""" + """Stop all sessions.""" logging.info("Stop all sessions.") for session in list(self.sessions.values()): session.stop() -- cgit v1.2.3