Skip to content

Commit

Permalink
fix: fixes issue with Delete Prompt logic being inversed
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidSalemLee committed Apr 4, 2024
1 parent c5722f7 commit a3e3f64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storyblok_assets_cleanup.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def print_padded(outputs):
print()

if should_delete_images:
should_delete_images = input('Do you really want to delete the assets? (y/n): ') != 'y'
should_delete_images = input('Do you really want to delete the assets? (y/n): ') == 'y'
elif backup_assets:
input('Images will not be deleted but will perform backup. Press any key to continue: ')
else:
Expand Down

0 comments on commit a3e3f64

Please sign in to comment.