summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/edit/dashboards.py
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/modules/edit/dashboards.py')
-rw-r--r--sca-cpp/trunk/modules/edit/dashboards.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-cpp/trunk/modules/edit/dashboards.py b/sca-cpp/trunk/modules/edit/dashboards.py
index 5e98c9cb59..f42106e0ec 100644
--- a/sca-cpp/trunk/modules/edit/dashboards.py
+++ b/sca-cpp/trunk/modules/edit/dashboards.py
@@ -25,7 +25,7 @@ def dashboardid(user):
# Get a dashboard from the cache
def getdashboard(id, cache):
dashboard = cache.get(id)
- if isNil(dashboard):
+ if isNil(dashboard) or dashboard is None:
return ()
return dashboard