Skip to content

Commit f5f248f

Browse files
committed
instead of match an exclude pattern, we search for it
1 parent bf790aa commit f5f248f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

squid2radius.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
sys.stdout.write('.')
6161
sys.stdout.flush()
6262

63-
if args.exclude_pattern and exclude_pattern.match(username):
63+
if args.exclude_pattern and exclude_pattern.search(username):
6464
sys.stdout.write("..skipped!\n")
6565
sys.stdout.flush()
6666
continue

0 commit comments

Comments
 (0)