4grab/util.py
ryuslash 2db5555609 Archive lookup
4grab was saving the archived images to the wrong place, which is now fixed
2010-04-08 15:14:12 +02:00

7 lines
155 B
Python

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")