]> git.phdru.name Git - xsetbg.git/blobdiff - xsetbg-dbus-client.py
Style: Fix `flake8` error E999 SyntaxError: leading zeros in decimal integer
[xsetbg.git] / xsetbg-dbus-client.py
old mode 100644 (file)
new mode 100755 (executable)
index 3a0087a..b2aff34
@@ -3,14 +3,10 @@
 
 """
 
-__author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2000-2012 PhiloSoft Design"
-__license__ = "GNU GPL"
-
-
 import sys
 import dbus
 
+
 def main():
     try:
         command = sys.argv[1]
@@ -18,10 +14,11 @@ def main():
         sys.exit('Usage: %s command' % sys.argv[0])
 
     bus = dbus.SessionBus()
-    remote_object = bus.get_object("name.phdru.XSetBg", "/XSetBg")
+    remote_object = bus.get_object("name.phdru.XSetBg", "/name/phdru/XSetBg")
     iface = dbus.Interface(remote_object, "name.phdru.XSetBg")
 
     getattr(iface, command)()
 
+
 if __name__ == '__main__':
     main()