Skip to content

Commit

Permalink
Fix uri append
Browse files Browse the repository at this point in the history
  • Loading branch information
Huluti committed May 7, 2024
1 parent f40437e commit 9071de6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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():
Expand Down

0 comments on commit 9071de6

Please sign in to comment.