Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
mpeel committed Feb 28, 2022
1 parent 02633b1 commit 60a605a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions commons_fi_by_user.py
Expand Up @@ -45,6 +45,7 @@
username = username.replace('Photographs by','')
username = username.replace('Files by','')
username = username.replace('Category:','')
username = username.replace('Yann Forget:','Yann')
if '(' in username:
username = username.split('(')[0]
username = username.strip()
Expand Down
1 change: 1 addition & 0 deletions commons_qi_by_user.py
Expand Up @@ -45,6 +45,7 @@
username = username.replace('Photographs by','')
username = username.replace('Files by','')
username = username.replace('Category:','')
username = username.replace('Yann Forget:','Yann')
if '(' in username:
username = username.split('(')[0]
username = username.strip()
Expand Down
1 change: 1 addition & 0 deletions commons_vi_by_user.py
Expand Up @@ -45,6 +45,7 @@
username = username.replace('Photographs by','')
username = username.replace('Files by','')
username = username.replace('Category:','')
username = username.replace('Yann Forget:','Yann')
if '(' in username:
username = username.split('(')[0]
username = username.strip()
Expand Down

0 comments on commit 60a605a

Please sign in to comment.