According to the docs at create a config file and add your APIkey, if we don't have an insttoken, we should leave it out of the config file. However, the example program then fails as it tries to access key insttoken of the loaded json object.
This pull request fixes this by wrapping reading the insttoken value into a try/except block
According to the docs at
create a config file and add your APIkey
, if we don't have aninsttoken
, we should leave it out of the config file. However, the example program then fails as it tries to access keyinsttoken
of the loaded json object.This pull request fixes this by wrapping reading the
insttoken
value into atry/except
block