Skip to content

Commit a9595a6

Browse files
committed
remove geometry for tasks
1 parent 283b70a commit a9595a6

File tree

1 file changed

+2
-1
lines changed
  • mapswipe_workers/mapswipe_workers/project_types/base

1 file changed

+2
-1
lines changed

mapswipe_workers/mapswipe_workers/project_types/base/project.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,8 @@ def save_to_firebase(self, project, groups, groupsOfTasks):
214214

215215
logger.info(f"there are {len(groupsOfTasks)} groups for this project")
216216
c = 0
217-
for group_id, tasks_list in groupsOfTasks.items():
217+
for group_id in groupsOfTasks.keys():
218+
tasks_list = groupsOfTasks[group_id]
218219
c += 1
219220
if self.projectType in [ProjectType.FOOTPRINT.value]:
220221
compressed_tasks = gzip_str.compress_tasks(tasks_list)

0 commit comments

Comments
 (0)