If the script errors out or there is some other issue and you re-run the script, you will most likely see Folder exists: 1 at the end of the the subsequent runs.
I know the folder exists already because there was an issue with the previous run, so just remove it and run the code again.
Here is the code I've written to just wipe out the dir if it exists so it will be recreated and things will continue normally and the torrent will be added
If the script errors out or there is some other issue and you re-run the script, you will most likely see
Folder exists: 1
at the end of the the subsequent runs.I know the folder exists already because there was an issue with the previous run, so just remove it and run the code again.
Here is the code I've written to just wipe out the dir if it exists so it will be recreated and things will continue normally and the torrent will be added
create_link_path()
inutils.py