mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Add lemonrule function
This commit is contained in:
parent
f0fbfb6bd6
commit
e06fc6554f
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ def tools_lemonrule(id=None, url=None, key=None, value=None, priority=None, dele
|
||||||
# Write configuration
|
# Write configuration
|
||||||
with open(lemon_tmp_conf,'a+') as lemon_conf:
|
with open(lemon_tmp_conf,'a+') as lemon_conf:
|
||||||
for conf_line in conf_lines:
|
for conf_line in conf_lines:
|
||||||
lemon_conf.write(conf_line)
|
lemon_conf.write(conf_line + '\n')
|
||||||
|
|
||||||
# Apply & reload configuration
|
# Apply & reload configuration
|
||||||
if apply:
|
if apply:
|
||||||
|
|
Loading…
Reference in a new issue