diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-05-10 08:37:18 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-05-10 08:37:18 +0000 |
commit | a5121e7a0623db328a9462d340d389ed6737374a (patch) | |
tree | 2fa6051d457555ef2d61793af2756a44c0ea221c /modules/ui_tempdir.py | |
parent | 550256db1ce18778a9d56ff343d844c61b9f9b83 (diff) | |
download | stable-diffusion-webui-gfx803-a5121e7a0623db328a9462d340d389ed6737374a.tar.gz stable-diffusion-webui-gfx803-a5121e7a0623db328a9462d340d389ed6737374a.tar.bz2 stable-diffusion-webui-gfx803-a5121e7a0623db328a9462d340d389ed6737374a.zip |
fixes for B007
Diffstat (limited to 'modules/ui_tempdir.py')
-rw-r--r-- | modules/ui_tempdir.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui_tempdir.py b/modules/ui_tempdir.py index cac73c51..f05049e1 100644 --- a/modules/ui_tempdir.py +++ b/modules/ui_tempdir.py @@ -72,7 +72,7 @@ def cleanup_tmpdr(): if temp_dir == "" or not os.path.isdir(temp_dir):
return
- for root, dirs, files in os.walk(temp_dir, topdown=False):
+ for root, _, files in os.walk(temp_dir, topdown=False):
for name in files:
_, extension = os.path.splitext(name)
if extension != ".png":
|