# script to clear undelete a list of projects
This script will set the deletion status to N in the projects table in art_relations. This is a workaround for a bug that is still being tracked down.

### Installation
```
python3 -m venv env
```
```
source env/bin/activate
```
```
pip install -r requirements.txt
```
```
cp .env.shadow .env
```

### Running the script
run the script by running following command providing the list of project ids as given below:
```
python undelete_projects.py 12345 54321
```

### Steps for execution
1. Rename the .env.shadow to .env
2. Update the art_relations database credentials in .env file
3. Run the script python undelete_projects.py project_id1 project_id2...
