File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
invokeai/app/services/workflow_records Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -319,13 +319,13 @@ def _sync_default_workflows(self) -> None:
319319 bytes_ = path .read_bytes ()
320320 workflow_from_file = WorkflowValidator .validate_json (bytes_ )
321321
322- assert workflow_from_file .id .startswith (
323- "default_"
324- ), f'Invalid default workflow ID (must start with "default_"): { workflow_from_file . id } '
322+ assert workflow_from_file .id .startswith ("default_" ), (
323+ f'Invalid default workflow ID (must start with "default_"): { workflow_from_file . id } '
324+ )
325325
326- assert (
327- workflow_from_file .meta .category is WorkflowCategory . Default
328- ), f"Invalid default workflow category: { workflow_from_file . meta . category } "
326+ assert workflow_from_file . meta . category is WorkflowCategory . Default , (
327+ f"Invalid default workflow category: { workflow_from_file .meta .category } "
328+ )
329329
330330 workflows_from_file .append (workflow_from_file )
331331
You can’t perform that action at this time.
0 commit comments