We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4944030 commit bfce626Copy full SHA for bfce626
tests/test_percy_snapshot.py
@@ -55,7 +55,7 @@ def display_image(pathname): # pylint: disable=W0612
55
:return: An html.Img object containing the base64 encoded image
56
"""
57
if not pathname or pathname == '/':
58
- return
+ return None
59
60
name = pathname.replace('/', '')
61
return html.Img(id=name, src=encode(name))
0 commit comments