mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-04 16:21:18 -08:00
Merge pull request #14640 from WebDev9000/replace-hashtags-in-filenames
Add # to the invalid_filename_chars list
This commit is contained in:
commit
58a142b56b
1 changed files with 1 additions and 1 deletions
|
|
@ -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 + ']+')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue