Skip to content

Commit 8201531

Browse files
committed
feat: support more save format
1 parent 4207e24 commit 8201531

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Final2x_core/SRqueue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def sr_queue(config: SRConfig) -> None:
3030
save_format = "." + save_format
3131

3232
for img_path in input_path:
33-
base_stem = Path(f"{config.target_scale}x-{Path(img_path).name}").stem
33+
base_stem = f"{config.target_scale}x-{Path(img_path).stem}"
3434
save_path = str(output_path / (base_stem + save_format))
3535
i: int = 0
3636
while Path(save_path).is_file():

0 commit comments

Comments
 (0)