update mainloop from deprecation, remove spaces
This commit is contained in:
parent
d73ec91cf2
commit
899deb1c7a
1 changed files with 123 additions and 118 deletions
|
@ -32,7 +32,12 @@ except:
|
|||
|
||||
import dbus
|
||||
import dbus.service
|
||||
import dbus.glib
|
||||
# deprecated
|
||||
#import dbus.glib
|
||||
# replaces by this 2 lines
|
||||
from dbus.mainloop.glib import DBusGMainLoop
|
||||
DBusGMainLoop(set_as_default=True)
|
||||
|
||||
from mkbackup.system_notification_emitter import Emitter
|
||||
from mkbackup.mkbackup_emitter import Emitter as EM
|
||||
|
||||
|
|
Loading…
Reference in a new issue