Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
Fix data logger compatibility with pyleco < 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
BenediktBurger committed Apr 16, 2024
1 parent d6f8e5b commit b8257d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyleco_extras/gui/data_logger/data/data_logger_listener.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ def register_rpc_methods(self) -> None:
self.register_rpc_method(self.set_configuration)

# additional features, might enter the DataLogger itself
def start_timer_trigger(self, timeout: float) -> None:
def start_timer_trigger(self, timeout: Optional[float] = None) -> None:
if timeout is None:
timeout = self.trigger_timeout
try:
return super().start_timer_trigger(timeout)
except TypeError:
Expand Down

0 comments on commit b8257d1

Please sign in to comment.