fix a typo in an f-string

This commit is contained in:
Ryan Petrello
2020-07-31 12:48:45 -04:00
parent ec8725d54f
commit a0e5e74cab

View File

@@ -43,7 +43,7 @@ class Control(object):
for reply in conn.events(select_timeout=timeout, yield_timeouts=True):
if reply is None:
logger.error(f'{self.service} did not reply within {timeout}s')
raise RuntimeError("{self.service} did not reply within {timeout}s")
raise RuntimeError(f"{self.service} did not reply within {timeout}s")
break
return json.loads(reply.payload)