• w-e-w's avatar
    replace "srt.replace()" in apply_filename_pattern() with equivalent re.sub() · 480d8e76
    w-e-w authored
    the file_decoration passed into apply_filename_pattern() is formatted to lowercase to increase compatibility
    the use of case sensitive srt.replace()
    
    but because the newly implemented "time format" is case sensitive
    the lowercasing the file_decoration will cause time format to be broken
    
    in order to resolve this issue
    I decided to replace every srt.replace() and in if "str" in x to regular expression (case insensitive) equivalent
    480d8e76
Name
Last commit
Last update
.github Loading commit data...
embeddings Loading commit data...
extensions Loading commit data...
javascript Loading commit data...
localizations Loading commit data...
models Loading commit data...
modules Loading commit data...
scripts Loading commit data...
textual_inversion_templates Loading commit data...
.gitignore Loading commit data...
.pylintrc Loading commit data...
CODEOWNERS Loading commit data...
README.md Loading commit data...
artists.csv Loading commit data...
environment-wsl2.yaml Loading commit data...
launch.py Loading commit data...
requirements.txt Loading commit data...
requirements_versions.txt Loading commit data...
screenshot.png Loading commit data...
script.js Loading commit data...
style.css Loading commit data...
txt2img_Screenshot.png Loading commit data...
webui-user.bat Loading commit data...
webui-user.sh Loading commit data...
webui.bat Loading commit data...
webui.py Loading commit data...
webui.sh Loading commit data...