Add lemonrule function

This commit is contained in:
Kload 2013-10-10 12:55:51 +02:00
parent f0fbfb6bd6
commit e06fc6554f

View file

@ -347,7 +347,7 @@ def tools_lemonrule(id=None, url=None, key=None, value=None, priority=None, dele
# Write configuration
with open(lemon_tmp_conf,'a+') as lemon_conf:
for conf_line in conf_lines:
lemon_conf.write(conf_line)
lemon_conf.write(conf_line + '\n')
# Apply & reload configuration
if apply: