Skip to content

Commit 89765af

Browse files
committed
satisfy pylint
1 parent 479afd4 commit 89765af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adafruit_io/adafruit_io.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,14 +847,15 @@ def receive_time(self, timezone: str = None):
847847
Returns a struct_time from the Adafruit IO Server based on the device's IP address.
848848
https://circuitpython.readthedocs.io/en/latest/shared-bindings/time/__init__.html#time.struct_time
849849
850-
:param str timezone: Timezone to return the time in, see https://io.adafruit.com/services/time
850+
:param str timezone: Timezone to return time in, see https://io.adafruit.com/services/time
851851
default is based on the device's IP address being geolocated, falling back to UTC.
852852
"""
853853
path = self._compose_path("integrations/time/struct.json")
854854
if timezone is not None:
855855
path += "?tz={0}".format(timezone)
856856
time_struct = self._get(path)
857857
return time.struct_time(
858+
# pylint: disable=line-too-long
858859
(
859860
time_struct["year"],
860861
time_struct["mon"],

0 commit comments

Comments
 (0)