Skip to content

Commit

Permalink
fix for the feedback aoi id
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Jan 22, 2024
1 parent 4f67499 commit 9a583bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def process_geojson(geojson_file_path, aoi_id, feedback=False):
(os.cpu_count() - 1) if os.cpu_count() != 1 else 1
) # leave one cpu free always
if feedback:
FeedbackLabel.objects.filter(aoi__id=aoi_id).delete()
FeedbackLabel.objects.filter(feedback_aoi__id=aoi_id).delete()
else :
Label.objects.filter(aoi__id=aoi_id).delete()
# max_workers = os.cpu_count() # get total cpu count available on the
Expand Down

0 comments on commit 9a583bc

Please sign in to comment.