Skip to content

Commit a1cc4de

Browse files
authored
remove dbus module for Flatpak session
... because it generates errors
1 parent 6935012 commit a1cc4de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main_window.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import gi
55
import glob
66
import sys
7-
import dbus
87
import shutil
98
from localization import _, home
109
from urllib.request import urlopen
@@ -23,6 +22,7 @@
2322

2423
# FOR SNAP: create the cache directory
2524
if snap:
25+
import dbus
2626
os.makedirs(f"{CACHE}", exist_ok=True)
2727

2828
# load GSettings database for viewing and saving user settings of the app

0 commit comments

Comments
 (0)