Fix csv reader
This commit is contained in:
1 parent
c224fd7606
commit
85e5576837
1 file changed
+1
-1
+1
-1
@@ -17,7 +17,7 @@ def cast_value(value: str) -> Any:
|
|||||||
if value == '':
|
if value == '':
|
||||||
return None
|
return None
|
||||||
elif value[0] == '"' and value[-1] == '"':
|
elif value[0] == '"' and value[-1] == '"':
|
||||||
return value[1:-1]
|
return value[1:-1].replace('""', '"')
|
||||||
elif value == 'T':
|
elif value == 'T':
|
||||||
return True
|
return True
|
||||||
elif value == 'F':
|
elif value == 'F':
|
||||||
|
|||||||
Reference in new issue
Block a user