🐛 Refactor: Consolidated user management and security functions in the backend. Added legal pages blueprint for compliance. Removed legacy rate limiter functions to streamline security integration. Updated logging for better clarity. 📚
This commit is contained in:
@ -42,8 +42,7 @@ def job_owner_required(f):
|
||||
return decorated_function
|
||||
|
||||
def check_printer_status(ip_address: str, timeout: int = 7):
|
||||
"""Mock-Implementierung für Drucker-Status-Check"""
|
||||
# TODO: Implementiere echten Status-Check
|
||||
"""Einfache Drucker-Status-Check - für erweiterte Funktionen siehe TapoStatusManager"""
|
||||
if ip_address:
|
||||
return "online", True
|
||||
return "offline", False
|
||||
|
Reference in New Issue
Block a user