]> git.phdru.name Git - xsetbg.git/blob - xsetbg_conf.py
Expand tilde in the database path
[xsetbg.git] / xsetbg_conf.py
1 #! /usr/bin/env python
2 """XSetBg config
3
4 """
5
6 __author__ = "Oleg Broytman <phd@phdru.name>"
7 __copyright__ = "Copyright (C) 2014 PhiloSoft Design"
8 __license__ = "GNU GPL"
9
10 __all__ = ['xsetbg_conf']
11
12 import os
13 from ConfigParser import SafeConfigParser
14
15 xsetbg_dir = os.path.dirname(os.path.abspath(__file__))
16
17 xsetbg_conf = SafeConfigParser()
18 xsetbg_conf.read(os.path.join(xsetbg_dir, 'xsetbg.conf'))