removed callable type check because that is utter woke nonsense

This commit is contained in:
Mikkeli Matlock
2026-01-26 16:55:56 +09:00
parent d6ea28163e
commit 2198a8b41b
2 changed files with 6 additions and 6 deletions

View File

@@ -30,9 +30,9 @@ class GPSService:
self._lock = threading.Lock()
# Callback for push-based updates
self._on_data_callback: callable | None = None
self._on_data_callback = None
def set_on_data(self, callback: callable | None):
def set_on_data(self, callback):
"""Set callback for new GPS fix. Called with fix dict."""
self._on_data_callback = callback