Minor fix

This commit is contained in:
Miroslav Stampar 2012-12-18 12:43:23 +01:00
parent 7f47623876
commit 699a0f756a

View File

@ -428,7 +428,7 @@ class Users:
areAdmins.add(user)
if user in kb.data.cachedUsersPrivileges:
kb.data.cachedUsersPrivileges[user].extend(privileges)
kb.data.cachedUsersPrivileges[user] = list(privileges.union(kb.data.cachedUsersPrivileges[user]))
else:
kb.data.cachedUsersPrivileges[user] = list(privileges)