do not force relative paths in image browser

pull/3/head
ddPn08 2022-10-25 20:45:40 +09:00 committed by GitHub
parent 3a8807aa7e
commit e7c9776c36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ def show_images_history(tabname):
if not custom_dir:
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)
if not os.path.exists(dir_name):