To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit de5bf587 authored by mikolajr's avatar mikolajr
Browse files

Bugfix: Heinziger com config value

parent aff19928
......@@ -93,7 +93,7 @@ class HeinzingerSerialCommunication(SerialCommunication):
"""
answer = self.read_text().strip()
n_attempts_left = n_attempts_max if self.is_open else 0
attempt_interval_sec = self.wait_sec_read_text_nonempty # type: ignore
attempt_interval_sec = self.config.wait_sec_read_text_nonempty
while len(answer) == 0 and n_attempts_left > 0:
sleep(attempt_interval_sec)
answer = self.read_text().strip()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment