Skip to content

Commit

Permalink
fixup! Use @decorator in @time_limit decorator to remove function nes…
Browse files Browse the repository at this point in the history
…ting
  • Loading branch information
glensc committed May 19, 2024
1 parent a986f00 commit 3d0cc72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plextraktsync/decorators/time_limit.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def time_limit(fn, *args, **kwargs):
"""
Throttles calls not to be called more often than TRAKT_POST_DELAY
"""

timer.wait_if_needed()

return fn(*args, **kwargs)

0 comments on commit 3d0cc72

Please sign in to comment.