diff options
Diffstat (limited to 'ishtar_common/utils.py')
-rw-r--r-- | ishtar_common/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/utils.py b/ishtar_common/utils.py index b089ddcee..6331766e1 100644 --- a/ishtar_common/utils.py +++ b/ishtar_common/utils.py @@ -62,7 +62,7 @@ class BColors: CSV_OPTIONS = {'delimiter': ',', 'quotechar': '"', 'quoting': QUOTE_ALL} -def check_rights(rights=[], redirect_url='/'): +def check_rights(rights=None, redirect_url='/'): """ Decorator that checks the rights to access the view. """ |