TextGrocery
TextGrocery copied to clipboard
tgrocery removes files from the folder
Hi Developers,
I was testing some stuff using Grocery and used this folder to create the models.
grocery = Grocery('/Users/rahulkumar/Desktop/')
When i executed grocery.save() it deleted all the files from the Desktop folder and now i have nothing left on the folder.
I checked the log and it performed os.rmdir() operation on that folder.
Please fix this workflow. It's very crucial.
Also, i am not sure if I can recover my files.
I've removed the force parameter on the save methods which leads to this behaviour. See my fork.