Show More
@@ -83,7 +83,7 b' class JSONEncodedObj(sqlalchemy.types.Ty' | |||||
83 | try: |
|
83 | try: | |
84 | value = json.loads(value, object_pairs_hook=DictClass) |
|
84 | value = json.loads(value, object_pairs_hook=DictClass) | |
85 | except Exception as e: |
|
85 | except Exception as e: | |
86 | if self.safe: |
|
86 | if self.safe and self.default is not None: | |
87 | return self.default() |
|
87 | return self.default() | |
88 | else: |
|
88 | else: | |
89 | raise |
|
89 | raise |
General Comments 0
You need to be logged in to leave comments.
Login now