diff options
author | Alex "mcmonkey" Goodwin <git_commits@alexgoodwin.dev> | 2023-03-12 12:33:29 -0700 |
---|---|---|
committer | Alex "mcmonkey" Goodwin <git_commits@alexgoodwin.dev> | 2023-03-12 12:33:29 -0700 |
commit | 48df6d66ea627a1c538aba4d37d9141798fff4d7 (patch) | |
tree | 1b25204aa5a0e213128e0099f2c3e674f53ea6c8 /modules/sd_models_config.py | |
parent | a71b7b5ec09a24e8a9bb3385e32862da905af6f1 (diff) |
add safety check in case of short extensions
so eg if a two-letter or empty extension is used, `.txt` would break, this `max` call protects that.
Diffstat (limited to 'modules/sd_models_config.py')
0 files changed, 0 insertions, 0 deletions