mirror of
https://github.com/Sygil-Dev/sygil-webui.git
synced 2025-01-06 11:30:17 +03:00
minor cchange to 'flet_utils.py'
This commit is contained in:
parent
cb804925f6
commit
2a8366074b
@ -19,7 +19,8 @@ def log_message(message):
|
|||||||
log_file = log_message.log
|
log_file = log_message.log
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
log_prefix = prefix.strftime("%Y%m%d_%H%M%S")
|
log_prefix = prefix.strftime("%Y%m%d_%H%M%S")
|
||||||
log_message.log = os.path.join('logs/webui/',log_prefix+'webui_flet.log')
|
os.makedirs('log/webui/flet', exist_ok=True)
|
||||||
|
log_message.log = os.path.join('log/webui/flet',log_prefix+'webui_flet.log')
|
||||||
log_file = log_message.log
|
log_file = log_message.log
|
||||||
# write message to logfile
|
# write message to logfile
|
||||||
with open(log_file,'a+') as log:
|
with open(log_file,'a+') as log:
|
||||||
|
Loading…
Reference in New Issue
Block a user