mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-02-11 02:40:04 +00:00
fix(scripts): fix default scheduler
This commit is contained in:
@@ -382,7 +382,7 @@ class AfterDetailerScript(scripts.Script):
|
||||
def get_scheduler(self, p, args: ADetailerArgs) -> dict[str, str]:
|
||||
"webui >= 1.9.0"
|
||||
if not args.ad_use_sampler:
|
||||
return {}
|
||||
return {"scheduler": getattr(p, "scheduler", "Automatic")}
|
||||
|
||||
if args.ad_scheduler == "Use same scheduler":
|
||||
value = getattr(p, "scheduler", "Automatic")
|
||||
|
||||
Reference in New Issue
Block a user