Skip to content

Commit 7fe7e72

Browse files
committed
- fixes #83
- when initializing a field, there were some conditions where no value would be returned (instead of returning the unchanged value)
1 parent cbb4e4b commit 7fe7e72

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drf_excel/fields.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ def init_value(self, value):
141141
tzinfo=None
142142
)
143143
except:
144-
return value
144+
pass
145+
return value
145146

146147
def prep_cell(self, cell: Cell):
147148
super().prep_cell(cell)

0 commit comments

Comments
 (0)