aboutsummaryrefslogtreecommitdiff
path: root/rwa/support/sessionservice
diff options
context:
space:
mode:
Diffstat (limited to 'rwa/support/sessionservice')
-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()