Skip to content

Commit

Permalink
Merge pull request #13 from wkeeling/fix-argument-conversion
Browse files Browse the repository at this point in the history
Don't try and convert args twice
  • Loading branch information
wkeeling authored Dec 14, 2021
2 parents eaa18ec + 25d16d9 commit 3d031a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ratelimitingfilter/ratelimitingfilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def filter(self, record):
linesep=os.linesep,
num=bucket.limited
)
record.args = ()
bucket.limited = 0
return True

Expand Down

0 comments on commit 3d031a2

Please sign in to comment.