Skip to content

Commit f487c26

Browse files
committed
fix pylint diagnostic
1 parent 6bfb321 commit f487c26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_datetime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1286,7 +1286,7 @@ def _fromtimestamp(cls, t, utc, tz):
12861286
if isinstance(t, float):
12871287
frac, t = _math.modf(t)
12881288
else:
1289-
frac, t = 0, t
1289+
frac = 0
12901290
us = round(frac * 1e6)
12911291
if us >= 1000000:
12921292
t += 1

0 commit comments

Comments
 (0)