Skip to content

Commit

Permalink
write uuid with quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
mzuenni committed Jan 15, 2025
1 parent 1d97caa commit 04a1dcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def _read_settings(self):
if self.settings.uuid == None:
self.settings.uuid = generate_problem_uuid()
raw = yaml_path.read_text().rstrip()
raw += f'\n# uuid added by BAPCtools\nuuid: {self.settings.uuid}\n'
raw += f"\n# uuid added by BAPCtools\nuuid: '{self.settings.uuid}'\n"
yaml_path.write_text(raw)
log(f'Generated UUID for {self.name}, added to problem.yaml')

Expand Down

0 comments on commit 04a1dcd

Please sign in to comment.