Skip to content

Commit

Permalink
fix: export empty conll
Browse files Browse the repository at this point in the history
  • Loading branch information
kirianguiller committed Oct 17, 2022
1 parent 8680db1 commit 0bfa13d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/samples/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def post(self, project_name: str):
]

# gluing back the trees
sample_content["last"] = "\n".join(sample_content["last"])
sample_content["last"] = "\n".join(sample_content.get("last", ""))
samplecontentfiles.append(sample_content)

else:
Expand Down

0 comments on commit 0bfa13d

Please sign in to comment.