mirror of https://github.com/Bing-su/adetailer.git
fix(scripts): fix default scheduler
parent
a7d961131e
commit
a17f97643e
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue