mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 19:22:24 +00:00
soft coding
This commit is contained in:
parent
a2ea7eb2fa
commit
a4fdacc9c2
2 changed files with 3 additions and 3 deletions
|
@ -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 }}'
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue