Merge pull request #15591 from AUTOMATIC1111/restore-1.8.0-style-naming-of-scripts

Restore 1.8.0 style naming of scripts
This commit is contained in:
AUTOMATIC1111 2024-04-22 12:24:06 +03:00 committed by GitHub
commit 3fdc3cfbbf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
from modules import scripts
from modules.shared import opts
xyz_grid = [x for x in scripts.scripts_data if x.script_class.__module__ == "scripts.xyz_grid"][0].module
xyz_grid = [x for x in scripts.scripts_data if x.script_class.__module__ == "xyz_grid.py"][0].module
def int_applier(value_name:str, min_range:int = -1, max_range:int = -1):
"""