Skip to content

Commit bfce626

Browse files
author
Xing Han Lu
committed
Fix Pylint R1710
1 parent 4944030 commit bfce626

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_percy_snapshot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def display_image(pathname): # pylint: disable=W0612
5555
:return: An html.Img object containing the base64 encoded image
5656
"""
5757
if not pathname or pathname == '/':
58-
return
58+
return None
5959

6060
name = pathname.replace('/', '')
6161
return html.Img(id=name, src=encode(name))

0 commit comments

Comments
 (0)