summaryrefslogtreecommitdiff
path: root/src/streamml/app.py
diff options
context:
space:
mode:
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():