diff options
author | WebDev <6970043+WebDev9000@users.noreply.github.com> | 2024-01-13 10:31:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-13 10:31:26 +0000 |
commit | 47b52d9b28aaabb603358fae5d9b824c49aa627b (patch) | |
tree | bb5d5e98b384d901761239bee7ad9cf3e9b23f61 | |
parent | cb5b335acddd126d4f6c990982816c06beb0d6ae (diff) | |
download | stable-diffusion-webui-gfx803-47b52d9b28aaabb603358fae5d9b824c49aa627b.tar.gz stable-diffusion-webui-gfx803-47b52d9b28aaabb603358fae5d9b824c49aa627b.tar.bz2 stable-diffusion-webui-gfx803-47b52d9b28aaabb603358fae5d9b824c49aa627b.zip |
Add # to the invalid_filename_chars list
-rw-r--r-- | modules/images.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/images.py b/modules/images.py index 87a7bf22..b6f2358c 100644 --- a/modules/images.py +++ b/modules/images.py @@ -321,7 +321,7 @@ def resize_image(resize_mode, im, width, height, upscaler_name=None): return res
-invalid_filename_chars = '<>:"/\\|?*\n\r\t'
+invalid_filename_chars = '#<>:"/\\|?*\n\r\t'
invalid_filename_prefix = ' '
invalid_filename_postfix = ' .'
re_nonletters = re.compile(r'[\s' + string.punctuation + ']+')
|