1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

soft coding

This commit is contained in:
Tim Moody 2019-11-19 09:08:31 -05:00
parent a2ea7eb2fa
commit a4fdacc9c2
2 changed files with 3 additions and 3 deletions

View file

@ -1,10 +1,10 @@
# IIAB constants
iiab_etc_path = '{{ iiab_etc_path }}'
kiwix_cat_path = iiab_etc_path + '/kiwix_catalog.json'
iiab_env_file = '{{ iiab_env_file }}'
iiab_ini_file = '{{ iiab_ini_file }}'
kiwix_cat_path = iiab_etc_path + '/kiwix_catalog.json'
zim_path = '{{ iiab_zim_path }}'
kiwix_library_xml = zim_path + '/library.xml'
iiab_base_path = '{{ iiab_base }}'

View file

@ -146,7 +146,7 @@ def get_iiab_env(name):
iiab_env = {}
iiab_env_var = ''
try:
fd = open("/etc/iiab/iiab.env","r")
fd = open(cons.iiab_env_file,"r")
for line in fd:
line = line.lstrip()
line = line.rstrip('\n')