Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
retribute.me
api
Commits
72122ea3
Verified
Commit
72122ea3
authored
Jun 07, 2019
by
Eliot Berriot
Browse files
Fixed regression
parent
2dbdcf33
Changes
1
Hide whitespace changes
Inline
Side-by-side
retribute_api/providers.py
View file @
72122ea3
...
...
@@ -25,6 +25,8 @@ class Provider(object):
username_regex
=
None
def
match_by_name
(
self
,
value
):
if
not
value
:
return
False
v
=
value
.
lower
().
strip
()
return
self
.
id
==
v
or
v
in
self
.
additional_ids
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment