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:
@ -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
|
||||
|
Reference in New Issue
Block a user