Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion appdaemon/adapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ async def listen_log(
pin: bool | None = None,
pin_thread: int | None = None,
**kwargs
) -> str:
) -> list[str] | None:
"""Register a callback for whenever an app logs a message.

Args:
Expand Down
2 changes: 1 addition & 1 deletion appdaemon/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ async def add_log_callback(
``None`` or a list of the callback handles, 1 for each logging level above the one given

"""
pin_app, pin_thread =self.AD.threading.determine_thread(self.name, pin, pin_thread)
pin_app, pin_thread =self.AD.threading.determine_thread(name, pin, pin_thread)

#
# Add the callback
Expand Down
Loading