Skip to content

Commit

Permalink
Fix: f-strings might not be supported
Browse files Browse the repository at this point in the history
  • Loading branch information
grafolean committed May 8, 2022
1 parent 1bffe3a commit 92b221a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netflow/v9.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def __init__(self, data, template):
elif flen == 1:
struct_format += 'B'
else:
struct_format += f'{flen}s'
struct_format += '%ds' % flen
struct_len += flen

while offset <= (self.length - padding_size):
Expand Down

0 comments on commit 92b221a

Please sign in to comment.