alan-turing-institute/AIrsenal

configuration not respected

mildfuzz opened this issue · 2 comments

I have updated the files in the data folder with my password, team Id and username

image

but when I run airsenal_env get I get the old values. I have tried deleting these values and setting them with the cli, but I still see old values.

Where could these old values be hiding?

Those settings are not saved in the data folder any more, you'll find them in the directory AIRSENAL_HOME (which is one of the things printed by airsenal_env get). You can also set the values with airsenal_env set if you like, e.g. airsenal_env set -k FPL_LOGIN -v <your_email>, airsenal_env set -k FPL_PASSWORD -v <your_password>, and airsenal_env set -k FPL_TEAM_ID -v <your_team_id>.

If you still see the old variables, check you haven't defined them as environment variables (e.g. echo $FPL_TEAM_ID)