Skip to content

Commit 58cc03e

Browse files
committed
fix scripts I broke with the extension tab changes
1 parent dc7425a commit 58cc03e

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

modules/extensions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def list_files(self, subdir, extension):
4646

4747
res = []
4848
for filename in sorted(os.listdir(dirpath)):
49-
res.append(scripts.ScriptFile(dirpath, filename, os.path.join(dirpath, filename)))
49+
res.append(scripts.ScriptFile(self.path, filename, os.path.join(dirpath, filename)))
5050

5151
res = [x for x in res if os.path.splitext(x.path)[1].lower() == extension and os.path.isfile(x.path)]
5252

webui.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ def f(*args, **kwargs):
6161

6262
def initialize():
6363
extensions.list_extensions()
64-
#for ext in extensions.extensions:
65-
# print(ext.name, ext.path, ext.enabled, ext.remote)
66-
#exit()
6764

6865
if cmd_opts.ui_debug_mode:
6966
shared.sd_upscalers = upscaler.UpscalerLanczos().scalers

0 commit comments

Comments
 (0)