Fixed log view file path
This commit is contained in:
parent
cf04fc36fc
commit
b8a8160644
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ def err_log():
|
||||||
"""
|
"""
|
||||||
timestamp = datetime.now().strftime("%Y-%m-%d_%H-%M-%S")
|
timestamp = datetime.now().strftime("%Y-%m-%d_%H-%M-%S")
|
||||||
return send_file(
|
return send_file(
|
||||||
DEFAULT_LOGFILE,
|
ROOT_LOGFILE,
|
||||||
as_attachment=True,
|
as_attachment=True,
|
||||||
attachment_filename="openflexure_microscope_{}.log".format(timestamp),
|
attachment_filename="openflexure_microscope_{}.log".format(timestamp),
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue