Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added missing import for 'os' module
Was causing an exception leading to "push not configured" message everytime irrespective of whether config files present or env variables configured. Code with error: ``` try: logging.info(f"Push configured for app {push_config.get('PUSH_SERVER_AUTH_TOKEN')} using platform {os.getenv('PUSH_PROVIDER')} with token {os.getenv('PUSH_SERVER_AUTH_TOKEN')[:10]}... of length {len(os.getenv('PUSH_SERVER_AUTH_TOKEN'))}") except: logging.warning("push service not configured, push notifications not supported") ```
- Loading branch information