Skip to content

Commit

Permalink
fix polling
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed May 20, 2024
1 parent cde28b5 commit 83cd9e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pioreactor/background_jobs/stirring.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def poll(self, poll_for_seconds: float) -> Optional[structs.MeasuredRPM]:

return self.measured_rpm

def poll_and_update_dc(self, poll_for_seconds: Optional[float]) -> None:
def poll_and_update_dc(self, poll_for_seconds: Optional[float] = None) -> None:
if self.rpm_calculator is None or self.target_rpm is None:
return

Expand Down

0 comments on commit 83cd9e9

Please sign in to comment.