forked from ScoDoc/ScoDoc
Update opolka/ScoDoc from ScoDoc/ScoDoc #2
@ -136,7 +136,7 @@ class WrapDict(object):
|
||||
try:
|
||||
value = self.dict[key]
|
||||
except KeyError:
|
||||
raise
|
||||
return f"XXX {key} invalide XXX"
|
||||
if value is None:
|
||||
return self.none_value
|
||||
return value
|
||||
|
Loading…
Reference in New Issue
Block a user