Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwurstsalat <mailtrash@posteo.de>2023-10-31 22:47:56 +0300
committerwurstsalat <mailtrash@posteo.de>2023-10-31 22:47:59 +0300
commitaf6ebc3a4888b4ecdb6b8f39fc9fec270e50ca0b (patch)
tree57ba0f53eb23ea316568dcf7487fc1479af480eb
parentf2245248b6ce316d6bffec3f685683799db68a85 (diff)
fix: DBusFileManager: Set self._proxy attribute on init
Fixes #11668
-rw-r--r--gajim/common/dbus/file_manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gajim/common/dbus/file_manager.py b/gajim/common/dbus/file_manager.py
index bf4d2fe7f..b40a4fb2b 100644
--- a/gajim/common/dbus/file_manager.py
+++ b/gajim/common/dbus/file_manager.py
@@ -30,7 +30,7 @@ class DBusFileManager(metaclass=Singleton):
'''
def __init__(self) -> None:
- self._proxy: Gio.DBusProxy | None
+ self._proxy: Gio.DBusProxy | None = None
Gio.DBusProxy.new_for_bus(
Gio.BusType.SESSION,
Gio.DBusProxyFlags.DO_NOT_AUTO_START_AT_CONSTRUCTION,