diff options
| author | Pepper <pepper@scannerjammer.com> | 2015-09-26 04:14:44 -0400 |
|---|---|---|
| committer | Pepper <pepper@scannerjammer.com> | 2015-09-26 04:14:44 -0400 |
| commit | 4ebeb643da6419835e9ac3adb731e38a8ec9c7b4 (patch) | |
| tree | 4876b43410d67b62a238102ee98bf78f248fee78 /lib/params.py | |
| parent | cc7fcec7ea718777f41154a107bdf8c709ed968a (diff) | |
reworked some more
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 6db17d2..78a65eb 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] + value = classkwargs[key] or def_dict[key].get('default', None) elif 'default' in def_dict[key]: value = def_dict[key]['default'] if def_dict[key]['type'] == "bool": |
