Skip to content

Commit 97f5bf3

Browse files
committed
pylint tweaks
1 parent c98ff56 commit 97f5bf3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

PyPortal_Thingiverse/thingiverse.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@
3737
print("Response is", response)
3838
pyportal.set_background(None)
3939
image_url = response[2].replace('_thumb_medium.', '_display_large.')
40-
pyportal.wget(pyportal.image_converter_url(image_url, 320, 240), "/sd/cache.bmp", chunk_size=512)
40+
pyportal.wget(pyportal.image_converter_url(image_url,320, 240,color_depth=16),
41+
"/sd/cache.bmp",
42+
chunk_size=512)
4143
pyportal.set_background("/sd/cache.bmp")
4244

4345
except (IndexError, RuntimeError, ValueError) as e:

0 commit comments

Comments
 (0)