Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tgrocery removes files from the folder #30

Open
goodrahstar opened this issue Jan 6, 2018 · 1 comment
Open

tgrocery removes files from the folder #30

goodrahstar opened this issue Jan 6, 2018 · 1 comment

Comments

@goodrahstar
Copy link

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.

@benman1
Copy link

benman1 commented May 4, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants