Skip to content
Permalink
Browse files

Unserialize null always as None

  • Loading branch information...
ibot3 committed Sep 10, 2019
1 parent 933afda commit 84590c647cdfe82b256ee1dca1e6b968b5c3ce26
Showing with 1 addition and 1 deletion.
  1. +1 −1 sipa/model/pycroft/unserialize.py
@@ -141,7 +141,7 @@ def __init__(self, dict_like: dict = None):

for attrname, constructor in constructor_map.items():
val = dict_like[attrname]
if not constructor:
if not constructor or val is None:
converted = val
else:
try:

0 comments on commit 84590c6

Please sign in to comment.
You can’t perform that action at this time.