Skip to content

Commit

Permalink
Fix a few more lint issues
Browse files Browse the repository at this point in the history
Change-Id: I0d420f3053f391fa225e4b8179e45fd1138f5c65
  • Loading branch information
Jon Wayne Parrott authored and busunkim96 committed Sep 29, 2020
1 parent b5f8dca commit 20e53c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def get_wiki_title(wiki_url):
try:
content = requests.get(wiki_url).text
return content.split('title')[1].split('-')[0].split('>')[1].strip()
except:
except KeyError:
return os.path.basename(wiki_url).replace('_', ' ')


Expand Down

0 comments on commit 20e53c4

Please sign in to comment.