• 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
..
api Loading commit data...
codeformer Loading commit data...
hypernetworks Loading commit data...
textual_inversion Loading commit data...
artists.py Loading commit data...
codeformer_model.py Loading commit data...
deepbooru.py Loading commit data...
devices.py Loading commit data...
errors.py Loading commit data...
esrgan_model.py Loading commit data...
esrgan_model_arch.py Loading commit data...
extras.py Loading commit data...
face_restoration.py Loading commit data...
generation_parameters_copypaste.py Loading commit data...
gfpgan_model.py Loading commit data...
images.py Loading commit data...
img2img.py Loading commit data...
interrogate.py Loading commit data...
ldsr_model.py Loading commit data...
ldsr_model_arch.py Loading commit data...
localization.py Loading commit data...
lowvram.py Loading commit data...
masking.py Loading commit data...
memmon.py Loading commit data...
modelloader.py Loading commit data...
ngrok.py Loading commit data...
paths.py Loading commit data...
processing.py Loading commit data...
prompt_parser.py Loading commit data...
realesrgan_model.py Loading commit data...
safe.py Loading commit data...
safety.py Loading commit data...
script_callbacks.py Loading commit data...
scripts.py Loading commit data...
scunet_model.py Loading commit data...
scunet_model_arch.py Loading commit data...
sd_hijack.py Loading commit data...
sd_hijack_inpainting.py Loading commit data...
sd_hijack_optimizations.py Loading commit data...
sd_models.py Loading commit data...
sd_samplers.py Loading commit data...
shared.py Loading commit data...
styles.py Loading commit data...
swinir_model.py Loading commit data...
swinir_model_arch.py Loading commit data...
swinir_model_arch_v2.py Loading commit data...
txt2img.py Loading commit data...
ui.py Loading commit data...
upscaler.py Loading commit data...