maartendamen/HouseAgent — comment on commit 7883896d16410ee6f78a09eb58551c5712c20799
File: houseagent/__init__.py line 23
By Whytey:

This

conf = Config(os.path.join(config_path, 'HouseAgent.conf'))

line is fine for running the core house agent, however, all plugins seem to execute this line also, and therefore, when running in a development environment, we attempt to open HouseAgent.conf from the a config_path of os.getcwd() (line 19 & 20), which is wrong. I worked around this by changing the line 20 to read

config_path = os.path.join(os.getcwd(), '..', 'HouseAgent')

which is true for my development environment, but probably not everyones???