Skip to content

Commit f3afa8b

Browse files
author
Jon Wayne Parrott
committed
Fix a few more lint issues
Change-Id: I0d420f3053f391fa225e4b8179e45fd1138f5c65
1 parent adb22b0 commit f3afa8b

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)