Development
This commit is contained in:
parent
e4a9d5c038
commit
bf4e7175cb
4 changed files with 6 additions and 6 deletions
|
|
@ -275,7 +275,7 @@ def api_log_tail():
|
|||
lines = (prev[-need:] if need and prev else []) + current
|
||||
|
||||
if not lines:
|
||||
return jsonify({'log': '(log is empty)', 'left': '', 'right': ''})
|
||||
return jsonify({'log': '(no log entries yet)', 'left': '', 'right': ''})
|
||||
|
||||
log_dir = os.path.dirname(RADIUS_LOG_FILE)
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue