1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-15 01:24:29 +02:00

change to use f-string

This commit is contained in:
Kelly Brazil
2020-07-23 12:03:21 -07:00
parent 126b1b121c
commit 6f5cd1d7c5

View File

@ -188,7 +188,7 @@ def loads(data):
elif probe_rtt_annotation[1]:
probe_rtt = None
else:
message = "Expected probe RTT or *. Got: '{}'".format(probe_rtt_annotation[0])
message = f"Expected probe RTT or *. Got: '{probe_rtt_annotation[0]}'"
raise ParseError(message)
probe_annotation = probe_rtt_annotation[2] or None