commit
fecd3f4662
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in New Issue