From a1cc4deb82bd74f3a10087873507c5c1f8d0255b Mon Sep 17 00:00:00 2001 From: vikdevelop <83600218+vikdevelop@users.noreply.github.com> Date: Sun, 12 May 2024 11:03:37 +0200 Subject: [PATCH] remove dbus module for Flatpak session ... because it generates errors --- src/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main_window.py b/src/main_window.py index 2aabf5b7..25c52ca7 100644 --- a/src/main_window.py +++ b/src/main_window.py @@ -4,7 +4,6 @@ import gi import glob import sys -import dbus import shutil from localization import _, home from urllib.request import urlopen @@ -23,6 +22,7 @@ # FOR SNAP: create the cache directory if snap: + import dbus os.makedirs(f"{CACHE}", exist_ok=True) # load GSettings database for viewing and saving user settings of the app