Closed irismessage closed 3 years ago
The config file doesn't get caught deliberately because there may be things in there that you've altered. Other files are silently discarded when they duplicate. See the throw_error=True
arg. This is a deliberate design decision.
I see that. I would personally prefer it however if, when the config file exists, it's left alone, and any files that don't exist are created. But I guess I can make run_bot.py manually.
How about a catch with a printout - "file X was left unchanged due to already existing" instead of silent?
Yup sounds good to me
e.g.