Skip to content

Commit 3c7a44f

Browse files
committed
from_seconds: int -> float
1 parent 4f86f7d commit 3c7a44f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flareio/ratelimit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def _unlimited(cls) -> "Limiter":
4343
return cls(tick_interval=timedelta(seconds=0))
4444

4545
@classmethod
46-
def from_seconds(cls, tick_interval_seconds: int) -> "Limiter":
46+
def from_seconds(cls, tick_interval_seconds: float) -> "Limiter":
4747
return cls(
4848
tick_interval=timedelta(
4949
seconds=tick_interval_seconds,

0 commit comments

Comments
 (0)