File tree 1 file changed +6
-6
lines changed
invokeai/app/services/workflow_records 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:
319
319
bytes_ = path .read_bytes ()
320
320
workflow_from_file = WorkflowValidator .validate_json (bytes_ )
321
321
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
+ )
325
325
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
+ )
329
329
330
330
workflows_from_file .append (workflow_from_file )
331
331
You can’t perform that action at this time.
0 commit comments