mkpkglists: Use the main configuration file

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2014-10-24 09:58:57 +02:00
parent 76343fb915
commit 73e7d97277
2 changed files with 1 additions and 6 deletions

View file

@ -1,5 +0,0 @@
[database]
host = localhost
name = AUR
user = aur
password = aur

View file

@ -9,7 +9,7 @@ import os
docroot = os.path.dirname(os.path.realpath(__file__)) + "/../web/html/"
config = configparser.RawConfigParser()
config.read(os.path.dirname(os.path.realpath(__file__)) + "/config")
config.read(os.path.dirname(os.path.realpath(__file__)) + "/../conf/config")
aur_db_host = config.get('database', 'host')
aur_db_name = config.get('database', 'name')