1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
Index: scolasync/src/usbDisk2.py
===================================================================
--- scolasync.orig/src/usbDisk2.py
+++ scolasync/src/usbDisk2.py
@@ -28,6 +28,10 @@ dependances="python3-dbus python3-dbus.m
import dbus, subprocess, os, os.path, re, time, threading, logging, inspect
from dbus.mainloop.glib import DBusGMainLoop, threads_init
+
+import gi
+gi.require_version('UDisks', '2.0')
+
from gi.repository import Gio, GLib, UDisks
from PyQt5.QtWidgets import *
|