Development

This commit is contained in:
Matthew Grotke 2026-06-09 11:37:48 -04:00
parent e4a9d5c038
commit bf4e7175cb
4 changed files with 6 additions and 6 deletions

View file

@ -25,7 +25,7 @@ def _ddns_log_tail():
with open(log_path) as f:
lines = f.readlines()
if not lines:
return '(log is empty)', ''
return '(no log entries yet)', ''
total = len(lines)
tail = lines[-DDNS_LOG_MAX:]
shown = len(tail)
@ -39,7 +39,7 @@ def _ddns_log_tail():
)
return ''.join(tail).strip(), summary
except FileNotFoundError:
return '(log file not found)', ''
return '(no log entries yet)', ''
except Exception:
return '(error reading log)', ''