mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-19 15:16:33 +00:00
Format log as string (#2984)
This commit is contained in:
parent
2b6829a786
commit
fe785622ec
@ -109,7 +109,7 @@ class Ingress(FileConfiguration, CoreSysAttributes):
|
|||||||
def validate_session(self, session: str) -> bool:
|
def validate_session(self, session: str) -> bool:
|
||||||
"""Return True if session valid and make it longer valid."""
|
"""Return True if session valid and make it longer valid."""
|
||||||
if session not in self.sessions:
|
if session not in self.sessions:
|
||||||
_LOGGER.debug("Session %f is not known", session)
|
_LOGGER.debug("Session %s is not known", session)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# check if timestamp valid, to avoid crash on malformed timestamp
|
# check if timestamp valid, to avoid crash on malformed timestamp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user