This commit is contained in:
Miroslav Stampar
2017-07-05 11:31:42 +02:00
parent 614f290217
commit ba369b73d3
4 changed files with 6 additions and 6 deletions

View File

@@ -67,7 +67,7 @@ class Enumeration(GenericEnumeration):
user = None
roles = set()
for count in xrange(0, len(value)):
for count in xrange(0, len(value or [])):
# The first column is always the username
if count == 0:
user = value[count]