diff options
author | ryuslash | 2010-04-08 15:14:12 +0200 |
---|---|---|
committer | ryuslash | 2010-04-08 15:14:12 +0200 |
commit | 2db5555609b4ab157ea836f9611c6faa80508cf3 (patch) | |
tree | f62e16e906feede66f3e6981bfa31ec031bed766 /util.py | |
parent | 9fb2b4ff58681dde805f9ac2c8be3b59ad8e9a50 (diff) | |
download | 4grab-2db5555609b4ab157ea836f9611c6faa80508cf3.tar.gz 4grab-2db5555609b4ab157ea836f9611c6faa80508cf3.zip |
Archive lookup
4grab was saving the archived images to the wrong place, which is now fixed
Diffstat (limited to 'util.py')
-rw-r--r-- | util.py | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -0,0 +1,7 @@ +import os +import sys + +homedir = os.getenv("HOME") +if homedir is None: + homedir = os.path.dirname(sys.argv[0]) +confdir = os.path.join(homedir, ".4grab") |