Skip to content

Commit

Permalink
some comments never hurt
Browse files Browse the repository at this point in the history
  • Loading branch information
ciur committed Nov 14, 2024
1 parent 908e0d4 commit cc77f53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion papermerge/core/utils/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


def if_redis_present(orig_func):
"""Skip decorated function when `config.papermerge__redis__url` is None"""
"""Execute decorated function only if `papermerge__redis__url` is defined"""

def inner(*args, **kwargs):
if config.papermerge__redis__url is not None:
Expand Down

0 comments on commit cc77f53

Please sign in to comment.