Tweak logic in ApplicationSettings
Tweak logic in ApplicationSettings

Use self.environ instead of ENVIRONMENT to avoid global reference

lbryio/lbry,zestyr/lbry,lbryio/lbry,lbryio/lbry,zestyr/lbry,zestyr/lbry