File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
mapswipe_workers/mapswipe_workers/firebase_to_postgres Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ def results_to_file(
272272 for taskId , result in result_data ["results" ].items ():
273273
274274 ref_data = result_data .get ("ref" , {}).get (taskId , {})
275- ref_json = json .dumps (ref_data ) if ref_data else None
275+ ref_json = json .dumps (ref_data ) if ref_data else r"\N"
276276
277277 if result_type == "geometry" :
278278 result = geojson .dumps (geojson .GeometryCollection (result ))
@@ -300,7 +300,7 @@ def results_to_file(
300300 for taskId , result in enumerate (result_data ["results" ]):
301301
302302 ref_data = result_data .get ("ref" , {}).get (taskId , {})
303- ref_json = json .dumps (ref_data ) if ref_data else None
303+ ref_json = json .dumps (ref_data ) if ref_data else r"\N"
304304
305305 if result is None :
306306 continue
You can’t perform that action at this time.
0 commit comments