Skip to content

Commit

Permalink
Tiny code refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Jul 23, 2020
1 parent 45f36af commit 0d1b84a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/appier/model.py
Expand Up @@ -1174,7 +1174,7 @@ def fill(cls, model = None, safe = False):
if private and safe: continue
if increment: continue
if "initial" in _definition:
initial = _definition.get("initial")
initial = _definition["initial"]
model[name] = initial
else:
_type = _definition.get("type")
Expand Down

0 comments on commit 0d1b84a

Please sign in to comment.