Skip to content

Commit

Permalink
Use single quotes for all string literals
Browse files Browse the repository at this point in the history
  • Loading branch information
m-lundberg committed Mar 14, 2020
1 parent 1b622b1 commit 4c20427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simple_pid/PID.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def __call__(self, input_, dt=None):
if dt is None:
dt = now - self._last_time if now - self._last_time else 1e-16
elif dt <= 0:
raise ValueError("dt has nonpositive value {}. Must be positive.".format(dt))
raise ValueError('dt has nonpositive value {}. Must be positive.'.format(dt))

if self.sample_time is not None and dt < self.sample_time and self._last_output is not None:
# only update every sample_time seconds
Expand Down

0 comments on commit 4c20427

Please sign in to comment.