Agent Zero AI framework
chore: replace print with PrintStyle
linuztx8db000e0af46
diff --git a/python/helpers/tunnel_manager.py b/python/helpers/tunnel_manager.pyindex 5c68830b3..42a1d87cd 100644--- a/python/helpers/tunnel_manager.py+++ b/python/helpers/tunnel_manager.py@@ -7,6 +7,7 @@ from flaredantic import (import threadingfrom collections import deque+from python.helpers.print_style import PrintStyle# Singleton to manage the tunnel instanceclass TunnelManager:@@ -83,7 +84,7 @@ class TunnelManager:self.is_running = Trueexcept Exception as e:error_msg = str(e)- print(f"Error in tunnel thread: {error_msg}")+ PrintStyle.error(f"Error in tunnel thread: {error_msg}")self.notifications.append({"event": NotifyEvent.ERROR.value,"message": error_msg,@@ -109,7 +110,7 @@ class TunnelManager:return self.tunnel_urlexcept Exception as e:- print(f"Error starting tunnel: {str(e)}")+ PrintStyle.error(f"Error starting tunnel: {str(e)}")return Nonedef stop_tunnel(self):