I try to load config from file with read
But when it reads from same folder it works
When I read from parent it doesn’t.
Code:
/
config.ini
Conf/
__init__.py
config.ini
Conf.py
// Conf.py
config = ConfigParser()
#this works
config.read(‘config.ini’)
#this doesn’t
config.read(‘./../config.ini’)
Any ideas?
Thanks!