1 parent 1addae4 commit 8d73fc7Copy full SHA for 8d73fc7
1 file changed
instagram_monitor.py
@@ -3494,6 +3494,8 @@ def process_message_substitutions(message: str) -> str:
3494
# Debug print helper - only prints if DEBUG_MODE is enabled
3495
def debug_print(message):
3496
if DEBUG_MODE:
3497
+ if not isinstance(message, str):
3498
+ message = str(message)
3499
message = process_message_substitutions(message)
3500
timestamp = get_hour_min_from_ts(now_local(), show_seconds=True)
3501
user = getattr(_thread_local, 'user', None)
0 commit comments