mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
mkpkglists: Use the main configuration file
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
76343fb915
commit
73e7d97277
2 changed files with 1 additions and 6 deletions
|
@ -1,5 +0,0 @@
|
|||
[database]
|
||||
host = localhost
|
||||
name = AUR
|
||||
user = aur
|
||||
password = aur
|
|
@ -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')
|
||||
|
|
Loading…
Add table
Reference in a new issue