Skip to content

Commit d57af34

Browse files
committed
Fix incorrect override
1 parent df76e20 commit d57af34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

linehaul/ua/impl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ def __init__(self, regexes, handler, *, name=None):
7777
def name(self):
7878
return self._name
7979

80-
def __call__(self, user_agent):
80+
def __call__(self, ua):
8181
for regex in self._regexes:
82-
matched = regex.search(user_agent)
82+
matched = regex.search(ua)
8383

8484
# If we've matched this particuar regex, then we'll break the loop here and
8585
# go onto finishing parsing.

0 commit comments

Comments
 (0)