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:
Diffstat (limited to 'gajim/common/dbus/file_manager.py')
-rw-r--r--gajim/common/dbus/file_manager.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gajim/common/dbus/file_manager.py b/gajim/common/dbus/file_manager.py
index f0a9ed887..bf4d2fe7f 100644
--- a/gajim/common/dbus/file_manager.py
+++ b/gajim/common/dbus/file_manager.py
@@ -12,7 +12,6 @@
# You should have received a copy of the GNU General Public License
# along with Gajim. If not, see <http://www.gnu.org/licenses/>.
-from typing import Optional
import logging
@@ -31,7 +30,7 @@ class DBusFileManager(metaclass=Singleton):
'''
def __init__(self) -> None:
- self._proxy: Optional[Gio.DBusProxy]
+ self._proxy: Gio.DBusProxy | None
Gio.DBusProxy.new_for_bus(
Gio.BusType.SESSION,
Gio.DBusProxyFlags.DO_NOT_AUTO_START_AT_CONSTRUCTION,