From 4649cf3fcfd901dfd099355a29b664a450966823 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 10 Jun 2018 12:29:37 +0200 Subject: Quick action to add a document from a sheet (refs #4107) --- ishtar_common/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common/utils.py') 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. """ -- cgit v1.2.3