Commit Graph
3 Commits
Author SHA1 Message Date
MillyandAUTOMATIC1111 0bb458f0ca Removed duplicate image saving codes
Use `modules.images.save_image()` instead.
2022-10-06 20:15:39 +03:00
MillyandAUTOMATIC1111 eec1b39bd5 Apply prompt pattern last 2022-10-04 15:22:49 +03:00
MillyandAUTOMATIC1111 a8a75ec43a Fixed filename part sanitizing
The following file patterns are invalid on Windows.
- Begin or end with the ASCII Space (0x20)
- End with the ASCII Period (0x2E)

For example, if `[prompt_spaces]` is specified as the directory name pattern, sometimes file saving may fail.
2022-09-20 09:46:44 +03:00