Changelog: https://roxy-wi.org/changelog#6_2_0
pull/343/head v6.2.0.0
Pavel Loginov 2022-09-28 17:18:53 +03:00
parent 24229750b7
commit 1bb5221a07
2 changed files with 30 additions and 30 deletions

View File

@ -429,7 +429,7 @@ def diff_config(oldcfg, cfg, **kwargs):
log_file = f"{log_path}/config_edit-{get_data('logs')}"
try:
with open(log_file, 'a') as log:
log.write(mess)
log.write(diff)
except IOError:
print(f'<center><div class="alert alert-danger">Can\'t read write change to log. {stderr}</div></center>')
pass