Skip to content

Commit 456d053

Browse files
committed
fixed name arg in determine_thread
1 parent 5a9d5ab commit 456d053

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

appdaemon/logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ async def add_log_callback(
517517
``None`` or a list of the callback handles, 1 for each logging level above the one given
518518
519519
"""
520-
pin_app, pin_thread =self.AD.threading.determine_thread(self.name, pin, pin_thread)
520+
pin_app, pin_thread =self.AD.threading.determine_thread(name, pin, pin_thread)
521521

522522
#
523523
# Add the callback

0 commit comments

Comments
 (0)