Skip to content

Commit

Permalink
Fix Of SyntaxWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
JustGuardian committed Jan 28, 2025
1 parent 91fc6b0 commit 68ea927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wifite/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def parse_settings_args(cls, args):
Color.pl('{+} {C}option:{W} using {G}random mac address{W} when scanning & attacking')

if args.channel:
chn_arg_re = re.compile("^\d+((,\d+)|(-\d+,\d+))*(-\d+)?$")
chn_arg_re = re.compile(r"^\d+((,\d+)|(-\d+,\d+))*(-\d+)?$")
if not chn_arg_re.match(args.channel):
raise ValueError("Invalid channel! The format must be 1,3-6,9")

Expand Down

0 comments on commit 68ea927

Please sign in to comment.