Commit 6d7e57ba authored by gayshub's avatar gayshub

fix the problem of ruff of github

parent da45e73b
......@@ -340,7 +340,6 @@ class Api:
task_id = create_task_id("text2img")
if txt2imgreq.force_task_id is None:
task_id = txt2imgreq.force_task_id
script_runner = scripts.scripts_txt2img
if not script_runner.scripts:
script_runner.initialize_scripts(False)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment