Skip to content

Commit 0464b87

Browse files
committed
more pylint corrections
1 parent 74b4c5c commit 0464b87

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

adafruit_pyportal.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ def image_converter_url(image_url, width, height, color_depth=16):
653653
return IMAGE_CONVERTER_SERVICE % (aio_username, aio_key,
654654
width, height,
655655
color_depth, image_url)
656-
656+
657657
def io_push(self, feed, data):
658658
# pylint: disable=line-too-long
659659
"""Push data to an adafruit.io feed
@@ -674,12 +674,12 @@ def io_push(self, feed, data):
674674
io_connect = RESTClient(aio_username, aio_key, wifi)
675675

676676
try:
677-
feed_ID = io_connect.get_feed(feed)
677+
feed_id = io_connect.get_feed(feed)
678678
except AdafruitIO_RequestError:
679679
# If no feed exists, create one
680-
feed_ID = io_connect.create_new_feed(feed)
680+
feed_id = io_connect.create_new_feed(feed)
681681

682-
io_connect.send_data(feed_ID['key'], data)
682+
io_connect.send_data(feed_id['key'], data)
683683

684684
def fetch(self, refresh_url=None):
685685
"""Fetch data from the url we initialized with, perfom any parsing,

0 commit comments

Comments
 (0)