summaryrefslogtreecommitdiff
path: root/src/streamml/app.py
diff options
context:
space:
mode:
authorEnricoGuccii <partyka.003@proton.me>2026-06-02 00:06:39 +0200
committerEnricoGuccii <partyka.003@proton.me>2026-06-02 00:06:39 +0200
commit2cb262ca6dc16fa0901b23a2e4e2c01850e63fbe (patch)
tree6df9f24d6f8b3eb705ae68e98fb6d4cb8d529d6e /src/streamml/app.py
parent4289f0db454c21f6a071170f7f1b765eac5ac792 (diff)
small fixesmain
Diffstat (limited to 'src/streamml/app.py')
-rw-r--r--src/streamml/app.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/streamml/app.py b/src/streamml/app.py
index 4c7d1aa..0256315 100644
--- a/src/streamml/app.py
+++ b/src/streamml/app.py
@@ -2,9 +2,6 @@ from textual.app import App, ComposeResult
from textual.widgets import TabbedContent, TabPane
from textual.theme import Theme
-from pathlib import Path
-import os
-
from .front.detector_tab import DetectorTab
from .front.detector_profiles_tab import DetectorProfilesTab
from .front.options_tab import OptionsTab
@@ -12,8 +9,6 @@ from .front.options_tab import OptionsTab
from .back.detector_profiles_manager import DetectorProfilesManager
-XDG_DATA_HOME = Path(os.environ.get("XDG_DATA_HOME", Path.home() / ".local/share"))
-
theme = Theme(
name="pastel_blue_theme",
primary="#82A6F2",
@@ -31,7 +26,7 @@ class Streamml(App):
def __init__(self):
super().__init__()
- self.detector_profiles_manager = DetectorProfilesManager(profiles_file=f"{XDG_DATA_HOME}/netmonitor/objects/detector_profiles_objects")
+ self.detector_profiles_manager = DetectorProfilesManager(profiles_file=f"/var/log/streamml/objects/detector_profiles_objects")
def compose(self) -> ComposeResult:
with TabbedContent():