|
|
@ -1,3 +1,4 @@
|
|
|
|
|
|
|
|
import shutil
|
|
|
|
import sys
|
|
|
|
import sys
|
|
|
|
import os
|
|
|
|
import os
|
|
|
|
from hashlib import md5
|
|
|
|
from hashlib import md5
|
|
|
@ -206,8 +207,8 @@ class ArtNetManager:
|
|
|
|
if not os.path.exists(t_path):
|
|
|
|
if not os.path.exists(t_path):
|
|
|
|
print(f"{t_path} did not exist and will be created!")
|
|
|
|
print(f"{t_path} did not exist and will be created!")
|
|
|
|
os.makedirs("."+os.path.sep+t_path)
|
|
|
|
os.makedirs("."+os.path.sep+t_path)
|
|
|
|
os.rename(full_art_path, trash_dst)
|
|
|
|
|
|
|
|
print(f"Moving image {full_art_path} to {trash_dst}")
|
|
|
|
print(f"Moving image {full_art_path} to {trash_dst}")
|
|
|
|
|
|
|
|
shutil.move(full_art_path, trash_dst)
|
|
|
|
|
|
|
|
|
|
|
|
self.update_all_images_list()
|
|
|
|
self.update_all_images_list()
|
|
|
|
while self.curr_image_index >= len(self.all_images):
|
|
|
|
while self.curr_image_index >= len(self.all_images):
|
|
|
|