diff options
author | ddPn08 <pyn.g.1125@gmail.com> | 2022-10-15 01:56:02 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-10-15 07:07:45 +0000 |
commit | cd28465bf87d911965790513c37e6881e4231523 (patch) | |
tree | 58d24395857e4de61ccc6ce95c30359cdc26e972 /modules/images_history.py | |
parent | db27b987a97fc8b7894a9dd34bd7641536f9c424 (diff) | |
download | stable-diffusion-webui-gfx803-cd28465bf87d911965790513c37e6881e4231523.tar.gz stable-diffusion-webui-gfx803-cd28465bf87d911965790513c37e6881e4231523.tar.bz2 stable-diffusion-webui-gfx803-cd28465bf87d911965790513c37e6881e4231523.zip |
do not force relative paths in image history
Diffstat (limited to 'modules/images_history.py')
-rw-r--r-- | modules/images_history.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/images_history.py b/modules/images_history.py index f5ef44fe..09c749fe 100644 --- a/modules/images_history.py +++ b/modules/images_history.py @@ -104,7 +104,7 @@ def show_images_history(gr, opts, tabname, run_pnginfo, switch_dict): elif tabname == "extras": dir_name = opts.outdir_extras_samples d = dir_name.split("/") - dir_name = d[0] + dir_name = "/" if dir_name.startswith("/") else d[0] for p in d[1:]: dir_name = os.path.join(dir_name, p) with gr.Row(): |