TextGrocery icon indicating copy to clipboard operation
TextGrocery copied to clipboard

tgrocery removes files from the folder

Open goodrahstar opened this issue 8 years ago • 1 comments

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.

goodrahstar avatar Jan 06 '18 11:01 goodrahstar

I've removed the force parameter on the save methods which leads to this behaviour. See my fork.

benman1 avatar May 04 '18 14:05 benman1