Skip to content

"data/" directory automatic removal #139

Description

@drzraf

By default, the instanciation of a Pinterest() empties any data/ directory present in the current directory.
I happened to actually have a directory named data/ in the same folder where I ran my script.
I lost every file it contained after the first launch of my Python script.

It's really unpleasant and there are many ways to do things differently:

  • Bail-out
  • Not emptying the directory
  • Not overriding files it contains
  • Using /tmp/
  • Using a temporary or fancy directory name
  • ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions