Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Nov 16, 2018
1 parent 2272ec9 commit e2913e3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions clam/common/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,10 @@ def __init__(self, id, name, description = '', **kwargs):
self.allowusers = value #Users to allow access to this parameter (If not set, all users have access)
elif key == 'denyusers':
self.denyusers = value #Users to deny access to this parameter (If not set, nobody is denied)
elif key == 'default' and 'value' not in kwargs:
if self.set(value):
self.default = self.value
elif key == 'default':
if 'value' not in kwargs:
if self.set(value):
self.default = self.value
elif key == 'value':
self.set(value)
elif key == 'required':
Expand Down

0 comments on commit e2913e3

Please sign in to comment.