Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 19, 2023
1 parent 36090de commit 70c5d3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/filter/ipcut.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def ipcut(value, amount):
else:
ipsub = ipv6address[0:amount]

ipsubfinal = [(ipsub[i:i + 16]) for i in range(0, len(ipsub), 16)]
ipsubfinal = [(ipsub[i : i + 16]) for i in range(0, len(ipsub), 16)]
for i in ipsubfinal:
x = hex(int(i, 2))
ipv6_oct.append(x.replace("0x", ""))
Expand Down

0 comments on commit 70c5d3e

Please sign in to comment.