peewee_test: tiny style correction (f-string that uselessly spanned 2 lines)
This commit is contained in:
parent
2c638f3968
commit
807e434987
|
|
@ -53,8 +53,7 @@ class Event(BaseModel):
|
|||
|
||||
def int_from_list(bit_list):
|
||||
if len(bit_list) != 7:
|
||||
raise ValueError(f"Given list is of length {len(bit_list)} "
|
||||
f"instead of 7")
|
||||
raise ValueError(f"Given list is of length {len(bit_list)} instead of 7")
|
||||
reduced = 0
|
||||
for i, b in enumerate(bit_list):
|
||||
reduced += b * 2**i
|
||||
|
|
|
|||
Loading…
Reference in a new issue