tag #5

Merged
Ethanfel merged 11 commits from tag into main 2026-01-22 12:49:03 +01:00
Showing only changes of commit dd454ebf6f - Show all commits

View File

@@ -246,6 +246,15 @@ class SorterEngine:
conn.commit()
conn.close()
@staticmethod
def clear_staging_area():
"""Clears all items from the staging area."""
conn = sqlite3.connect(SorterEngine.DB_PATH)
cursor = conn.cursor()
cursor.execute("DELETE FROM staging_area")
conn.commit()
conn.close()
@staticmethod
def get_staged_data():
"""Retrieves current tagged/staged images."""