Skip to content

Commit

Permalink
Refine Interface logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ejohb committed Dec 10, 2024
1 parent 2674520 commit 3f8300c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion fmtr/tools/interface_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def get_state(cls):
Initialise this Interface and keep cached
"""
msg = f'Initialising State: for App {cls.NAME}...'
msg = f'Initialising State "{cls.NAME}"...'
logger.info(msg)
self = cls()
return self
Expand All @@ -101,6 +101,7 @@ def launch(cls):
"""
if cls.is_streamlit():
self = cls.get_state()
logger.debug(f'Rendering Interface "{self.NAME}" with state: {st.session_state}...')
self.set_title()
self.render()
else:
Expand Down
2 changes: 1 addition & 1 deletion fmtr/tools/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.6
1.0.7

0 comments on commit 3f8300c

Please sign in to comment.