X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=xsetbg.py;h=c57e56af2447a554a9936e6d5fd119f2d1eb3da4;hb=c60f3eedbf9451dea7e6f505d8795d6da25164f7;hp=717d50773255824df51b06c844e99ab948e4cc28;hpb=0b8b04b6bbf391cfdf676b88a0579edc59099e36;p=xsetbg.git diff --git a/xsetbg.py b/xsetbg.py index 717d507..c57e56a 100755 --- a/xsetbg.py +++ b/xsetbg.py @@ -12,7 +12,7 @@ __revision__ = "$Id$"[5:-2] __date__ = "$Date$"[7:-2] __author__ = "Oleg Broytman " -__copyright__ = "Copyright (C) 2000-2009 PhiloSoft Design" +__copyright__ = "Copyright (C) 2000-2010 PhiloSoft Design" __license__ = "GNU GPL" @@ -27,7 +27,7 @@ def error(error_str, error_code=1): from ConfigParser import SafeConfigParser -xsetbg_dir = os.path.join(os.environ["HOME"], "lib", "xsetbg") +xsetbg_dir = os.path.dirname(os.path.abspath(__file__)) os.chdir(xsetbg_dir) config = SafeConfigParser()