mirror of
https://github.com/Huluti/Curtail.git
synced 2024-09-11 06:05:33 +03:00
Fix uri append
This commit is contained in:
parent
f40437ee64
commit
9071de6972
@ -117,7 +117,7 @@ def get_image_files_from_folder(folder_path):
|
||||
if os.path.isfile(path):
|
||||
if get_file_type(path) is not None:
|
||||
image_file = Gio.File.new_for_path(path)
|
||||
images.append(image_file)
|
||||
images.append(image_file.get_uri())
|
||||
return images
|
||||
|
||||
|
||||
@ -128,7 +128,7 @@ def get_image_files_from_folder_recursive(folder_path):
|
||||
path = os.path.join(root, file)
|
||||
if get_file_type(path) is not None:
|
||||
image_file = Gio.File.new_for_path(path)
|
||||
images.append(image_file)
|
||||
images.append(image_file.get_uri())
|
||||
return images
|
||||
|
||||
def debug_infos():
|
||||
|
Loading…
Reference in New Issue
Block a user