We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11b441a commit 345021bCopy full SHA for 345021b
1 file changed
plugins/imdb.py
@@ -27,7 +27,7 @@ def imdb(text, bot):
27
headers=headers)
28
content = request.json()
29
30
- if content['success'] == False:
+ if content['success'] is False:
31
return 'Unknown error'
32
elif len(content['result']) == 0:
33
return 'No movie found'
@@ -54,7 +54,7 @@ def imdb_url(match, bot):
54
55
56
57
- if content['success'] == True:
+ if content['success'] is True:
58
return movie_str(content['result'])
59
60
0 commit comments