mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
removed debug message
This commit is contained in:
parent
31992b7d96
commit
c048631983
1 changed files with 0 additions and 10 deletions
|
@ -47,20 +47,10 @@ else:
|
|||
|
||||
bus = dbus.SessionBus()
|
||||
|
||||
existing_session = False
|
||||
|
||||
dbus_objects = dbus.Interface(bus.get_object('org.freedesktop.DBus', '/org/freedesktop/DBus'), 'org.freedesktop.DBus').ListNames()
|
||||
|
||||
print dbus_objects
|
||||
|
||||
interface = None
|
||||
|
||||
if dbus_version < (0,80,0) and "org.deluge_torrent.Deluge" in dbus_objects:
|
||||
existing_session = True
|
||||
elif dbus_version >= (0,80,0):
|
||||
for item in dbus_objects:
|
||||
print item
|
||||
|
||||
if not "org.deluge_torrent.Deluge" in dbus_objects:
|
||||
print "no existing Deluge session"
|
||||
import deluge, deluge.delugegtk
|
||||
|
|
Loading…
Add table
Reference in a new issue