Cleanup: consistent quotes in Python

This commit is contained in:
Campbell Barton
2024-03-14 10:38:16 +11:00
parent a654e0dde3
commit cf1ab3ec6e
8 changed files with 24 additions and 26 deletions

View File

@@ -115,13 +115,13 @@ class WM_OT_previews_batch_generate(Operator):
"--",
])
if not self.use_scenes:
cmd.append('--no_scenes')
cmd.append("--no_scenes")
if not self.use_collections:
cmd.append('--no_collections')
cmd.append("--no_collections")
if not self.use_objects:
cmd.append('--no_objects')
cmd.append("--no_objects")
if not self.use_intern_data:
cmd.append('--no_data_intern')
cmd.append("--no_data_intern")
if not self.use_backups:
cmd.append("--no_backups")
if subprocess.call(cmd):
@@ -225,13 +225,13 @@ class WM_OT_previews_batch_clear(Operator):
"--clear",
])
if not self.use_scenes:
cmd.append('--no_scenes')
cmd.append("--no_scenes")
if not self.use_collections:
cmd.append('--no_collections')
cmd.append("--no_collections")
if not self.use_objects:
cmd.append('--no_objects')
cmd.append("--no_objects")
if not self.use_intern_data:
cmd.append('--no_data_intern')
cmd.append("--no_data_intern")
if not self.use_backups:
cmd.append("--no_backups")
if subprocess.call(cmd):