diff options
author | Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de> | 2023-02-21 11:43:52 +0100 |
---|---|---|
committer | Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de> | 2023-02-21 11:45:21 +0100 |
commit | 22bf2d509fe5f3287bfb32f011fd01eb182b94f1 (patch) | |
tree | 3953d2f118ec7213514327f9c2ac19a47d23c168 /rwa/support/sessionservice | |
parent | 7d56852e32bd1b646130b7749d7feadf7ec98a16 (diff) | |
download | RWA.Support.SessionService-22bf2d509fe5f3287bfb32f011fd01eb182b94f1.tar.gz RWA.Support.SessionService-22bf2d509fe5f3287bfb32f011fd01eb182b94f1.tar.bz2 RWA.Support.SessionService-22bf2d509fe5f3287bfb32f011fd01eb182b94f1.zip |
pyproject.toml: Bump flask & python version; rwa/*: Adjust import statements to new Python version.
+ Update poetry.lock
Diffstat (limited to 'rwa/support/sessionservice')
-rwxr-xr-x | rwa/support/sessionservice/service.py | 10 | ||||
-rw-r--r-- | rwa/support/sessionservice/session.py | 8 | ||||
-rw-r--r-- | rwa/support/sessionservice/vnc.py | 2 |
3 files changed, 10 insertions, 10 deletions
diff --git a/rwa/support/sessionservice/service.py b/rwa/support/sessionservice/service.py index 175ae17..33a679d 100755 --- a/rwa/support/sessionservice/service.py +++ b/rwa/support/sessionservice/service.py @@ -41,11 +41,11 @@ import usersettings import validators from gi.repository import GLib -from .config import ALLOW_ONLY_ONE_SESSION, API_PATH, SUPPORTED_API_VERSIONS -from .lock import is_locked, lock, unlock -from .log import logging -from .session import Session, combine -from .trigger import TriggerServerThread +from config import ALLOW_ONLY_ONE_SESSION, API_PATH, SUPPORTED_API_VERSIONS +from lock import is_locked, lock, unlock +from log import logging +from session import Session, combine +from trigger import TriggerServerThread class RWASupportSessionService(dbus.service.Object): diff --git a/rwa/support/sessionservice/session.py b/rwa/support/sessionservice/session.py index 1b622f8..beb10d3 100644 --- a/rwa/support/sessionservice/session.py +++ b/rwa/support/sessionservice/session.py @@ -35,10 +35,10 @@ import port_for import psutil import requests -from .config import API_PATH -from .lock import TEMP_DIR_PATH -from .log import logging -from .vnc import run_vnc, save_password +from config import API_PATH +from lock import TEMP_DIR_PATH +from log import logging +from vnc import run_vnc, save_password def random_digits(length: int): diff --git a/rwa/support/sessionservice/vnc.py b/rwa/support/sessionservice/vnc.py index be33b35..4ab47bf 100644 --- a/rwa/support/sessionservice/vnc.py +++ b/rwa/support/sessionservice/vnc.py @@ -30,7 +30,7 @@ from typing import Dict import port_for -from .lock import TEMP_DIR_PATH +from lock import TEMP_DIR_PATH def save_password(pw: str) -> str: |