Create new public function in Database.py which takes files and path arguments and creates new database path.szp
Once database is created, save all entries in files to Photo table (make sure it is created first)
Call the function in (for testing purposes only, use Filter handler. It will move to Save handler once save button is created): https://github.com/vendral/szperacz/blob/main/szperacz/run.py#L63, provide files and test path path (choose whatever name for a moment)
In the long run, save handler will deliver path from user (issue link to be done by @vendral)
Database.py
which takesfiles
andpath
arguments and creates new databasepath.szp
files
toPhoto
table (make sure it is created first)Filter
handler. It will move toSave
handler once save button is created): https://github.com/vendral/szperacz/blob/main/szperacz/run.py#L63, providefiles
and test pathpath
(choose whatever name for a moment)