Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ciur committed Oct 31, 2023
1 parent cd03b0c commit 16efc1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions papermerge/core/utils/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@


def skip_in_tests(orig_func):
def inner(*args):
def inner(*args, **kwargs):
# invoke original function only if code is NOT in testing mode
if not settings.TESTING:
orig_func(*args)
orig_func(*args, **kwargs)

return inner

0 comments on commit 16efc1c

Please sign in to comment.