remove old logger statement

This commit is contained in:
Josh Hawkins 2023-09-05 07:19:27 -05:00
parent a1531a0a6e
commit 3e3dbcf251

View File

@ -240,11 +240,8 @@ class PtzAutoTracker:
else: else:
if zoom > 0: if zoom > 0:
self.onvif._zoom_absolute(camera, zoom, 1) self.onvif._zoom_absolute(camera, zoom, 1)
self.onvif._move_relative(camera, pan, tilt, 0, 1)
else: else:
logger.debug( self.onvif._move_relative(camera, pan, tilt, 0, 1)
f"Not moving, pan and tilt too small: {pan}, {tilt}"
)
# Wait until the camera finishes moving # Wait until the camera finishes moving
while not self.ptz_metrics[camera]["ptz_stopped"].is_set(): while not self.ptz_metrics[camera]["ptz_stopped"].is_set():