aboutsummaryrefslogtreecommitdiff
path: root/rwa
diff options
context:
space:
mode:
authorJonathan Weth <git@jonathanweth.de>2021-06-28 12:59:11 +0200
committerJonathan Weth <git@jonathanweth.de>2021-06-28 12:59:11 +0200
commitf4cf05cd8dd5d59713fad8be967fc2f87167e213 (patch)
tree0b0c570cf430ff6f1ea65316ac3347c6671f3c20 /rwa
parent9c437fabc0bd3d924413f5e3c0b08f365ca64f9d (diff)
downloadRWA.Support.SessionService-f4cf05cd8dd5d59713fad8be967fc2f87167e213.tar.gz
RWA.Support.SessionService-f4cf05cd8dd5d59713fad8be967fc2f87167e213.tar.bz2
RWA.Support.SessionService-f4cf05cd8dd5d59713fad8be967fc2f87167e213.zip
Drop dynaconf support
Diffstat (limited to 'rwa')
-rw-r--r--rwa/support/sessionservice/config.py5
-rwxr-xr-xrwa/support/sessionservice/service.py2
2 files changed, 1 insertions, 6 deletions
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 <https://www.gnu.org/licenses/>.
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()