pep8: Add compliance with rule E261 to bots/define/define.py.
This commit is contained in:
parent
65a6460d6e
commit
950101651d
|
@ -63,7 +63,7 @@ class DefineHandler(object):
|
||||||
# Could not fetch definitions for the given word.
|
# Could not fetch definitions for the given word.
|
||||||
if not definitions:
|
if not definitions:
|
||||||
response += self.REQUEST_ERROR_MESSAGE
|
response += self.REQUEST_ERROR_MESSAGE
|
||||||
else: # Definitions available.
|
else: # Definitions available.
|
||||||
# Show definitions line by line.
|
# Show definitions line by line.
|
||||||
for d in definitions:
|
for d in definitions:
|
||||||
example = d['example'] if d['example'] else '*No example available.*'
|
example = d['example'] if d['example'] else '*No example available.*'
|
||||||
|
|
Loading…
Reference in a new issue