Skip to content

Commit 9a0ccc9

Browse files
authored
Merge pull request #90 from tekktrik/main
Fix pylint issues
2 parents 7cb4811 + d595deb commit 9a0ccc9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

adafruit_portalbase/network.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,7 @@ def get_io_feed(self, feed_key, detailed=False):
460460
print("An error occured, retrying! 1 -", exception)
461461
continue
462462
break
463+
return None
463464

464465
def get_io_group(self, group_key):
465466
"""Return the Adafruit IO Group that matches the group key
@@ -476,6 +477,7 @@ def get_io_group(self, group_key):
476477
print("An error occured, retrying! 1 -", exception)
477478
continue
478479
break
480+
return None
479481

480482
def get_io_data(self, feed_key):
481483
"""Return all values from Adafruit IO Feed Data that matches the feed key
@@ -492,6 +494,7 @@ def get_io_data(self, feed_key):
492494
print("An error occured, retrying! 1 -", exception)
493495
continue
494496
break
497+
return None
495498

496499
def fetch(self, url, *, headers=None, timeout=10):
497500
"""Fetch data from the specified url and return a response object

0 commit comments

Comments
 (0)