Add pytest for logging

This commit is contained in:
Clemens Schwaighofer
2025-10-24 18:33:25 +09:00
parent 07e5d23f72
commit d0a1673965
10 changed files with 1842 additions and 1 deletions

View File

@@ -481,7 +481,7 @@ class Log(LogParent):
"""
Call when class is destroyed, make sure the listender is closed or else we throw a thread error
"""
if self.log_settings['add_end_info']:
if hasattr(self, 'log_settings') and self.log_settings.get('add_end_info'):
self.break_line('END')
self.stop_listener()