diff options
| author | Pepper <pepper@scannerjammer.com> | 2015-09-26 22:00:15 -0400 |
|---|---|---|
| committer | Pepper <pepper@scannerjammer.com> | 2015-09-26 22:00:15 -0400 |
| commit | 0e9991e9bd5748a6d32c825e0a00a5ac15c29982 (patch) | |
| tree | 7bf222228a84793f1980db61a37c060afa616541 /lib/params.py | |
| parent | 4ebeb643da6419835e9ac3adb731e38a8ec9c7b4 (diff) | |
linting...
Diffstat (limited to 'lib/params.py')
| -rw-r--r-- | lib/params.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/params.py b/lib/params.py index 78a65eb..cd8bc26 100644 --- a/lib/params.py +++ b/lib/params.py @@ -38,7 +38,7 @@ class Params(object): try: value = None if key in classkwargs: - value = classkwargs[key] or def_dict[key].get('default', None) + value = classkwargs.get(key, None) or def_dict[key].get('default', None) elif 'default' in def_dict[key]: value = def_dict[key]['default'] if def_dict[key]['type'] == "bool": |
