Skip to content

Commit

Permalink
Revert "Disable automatic save on render"
Browse files Browse the repository at this point in the history
This was for testing.

This reverts commit f71f3e6.
  • Loading branch information
john-kurkowski committed Jul 30, 2024
1 parent 79b2bd6 commit 7681575
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/music/render/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,10 +306,9 @@ async def process(

self.progress.update(task, advance=1)

# TODO: REVERT ME. Avoiding saves while developing experimental feature.
# if len(results):
# # Render causes a project to have unsaved changes, no matter what. Save the user a step.
# project.save()
if len(results):
# Render causes a project to have unsaved changes, no matter what. Save the user a step.
project.save()

@cached_property
def progress(self) -> rich.progress.Progress:
Expand Down

0 comments on commit 7681575

Please sign in to comment.