This commit is contained in:
matthias@arch 2023-10-20 17:53:22 +02:00
parent 3b1e4691d3
commit 9563641e05

View File

@ -29,7 +29,7 @@ KEYS_BEGIN = 5
class Sorter: class Sorter:
def __init__(self, wdir, canvas, config): def __init__(self, wdir, canvas, config):
self.wd = wdir self.wd = wdir
self.images = [] # old paths self.images = [] # old paths
self.images_new = [] # new paths self.images_new = [] # new paths
self.image_iter = 0 self.image_iter = 0
@ -259,10 +259,8 @@ Image Sorter
with uz.Canvas() as canvas: with uz.Canvas() as canvas:
sorter = Sorter(wd, canvas, config) sorter = Sorter(wd, canvas, config)
sorter.get_images() sorter.get_images()
# sorter.move_file("/home/matth/Bilder/Clara/bank.jpg", "/home")
# sorter.print_window()
sorter.sort() sorter.sort()
if __name__ == "__main__": if __name__ == "__main__":
main() main()