Shnezzin/breitbandmessung

Cron relative path issue to config file

Closed this issue · 1 comments

PA7T commented

if speedtest.py is run after the first time by cron, the relative path to the config file cannot be found.
I suggest to change
config.read('config/config.cfg')
to
config.read('/usr/src/app/config/config.cfg')

Is changed.
Thanks.