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

config.yaml file path is relative #3

Open
ThibH opened this issue Nov 19, 2020 · 0 comments
Open

config.yaml file path is relative #3

ThibH opened this issue Nov 19, 2020 · 0 comments

Comments

@ThibH
Copy link

ThibH commented Nov 19, 2020

When running the bot.py script from another directory, the config.yaml file is not found :

/usr/bin/python3.8 /home/docstring/Executor/bot.py 
Traceback (most recent call last):
  File "/home/docstring/Executor/bot.py", line 20, in <module>
    with open("config.yaml", "r") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'config.yaml'
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

1 participant