X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=xsetbg-dbus-client.py;h=b2aff341531f1cda045f496e557b1a31471014d6;hb=0ece1df14f89c4bbc0af81b7683843af225181cb;hp=6775159a09d4b6f6e98eaab883d785a716596591;hpb=4e7394a7e103cf0633cc9c42d9959aa94f2d7c9a;p=xsetbg.git diff --git a/xsetbg-dbus-client.py b/xsetbg-dbus-client.py index 6775159..b2aff34 100755 --- a/xsetbg-dbus-client.py +++ b/xsetbg-dbus-client.py @@ -3,14 +3,10 @@ """ -__author__ = "Oleg Broytman " -__copyright__ = "Copyright (C) 2000-2012 PhiloSoft Design" -__license__ = "GNU GPL" - - import sys import dbus + def main(): try: command = sys.argv[1] @@ -23,5 +19,6 @@ def main(): getattr(iface, command)() + if __name__ == '__main__': main()