Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.

Commit 91b2eb7

Browse files
Jon Wayne Parrottbusunkim96
Jon Wayne Parrott
authored andcommitted
Fix a few more lint issues
Change-Id: I0d420f3053f391fa225e4b8179e45fd1138f5c65
1 parent d4043e3 commit 91b2eb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/snippets/movie_nl/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def get_wiki_title(wiki_url):
128128
try:
129129
content = requests.get(wiki_url).text
130130
return content.split('title')[1].split('-')[0].split('>')[1].strip()
131-
except:
131+
except KeyError:
132132
return os.path.basename(wiki_url).replace('_', ' ')
133133

134134

0 commit comments

Comments
 (0)