Skip to content

Commit

Permalink
fix error where start could be less than 0
Browse files Browse the repository at this point in the history
  • Loading branch information
pmolfese authored and pmolfese committed Nov 1, 2023
1 parent 013ae05 commit ffdbd7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion egi_pynetstation/NetStation.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def send_event(
if start == 'now':
start = time.time() - self._syncepoch
elif isinstance(start, float):
start = start - self._syncepoch
start = start
else:
t_start = type(start)
return TypeError(
Expand Down

0 comments on commit ffdbd7a

Please sign in to comment.