Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App_id = int( os.environ.get("ID") ) returns error as " os.environ.get("ID") " returns None type #8

Closed
chvsain9 opened this issue Dec 16, 2021 · 1 comment

Comments

@chvsain9
Copy link

hi i tried giving the app id as integer directly to the App_id variable but im getting NO API KEY FOUND in a virtual machine

i think there is a bug in the case of vps as " os.environ.get("ID") " returns None type

@moshe-coh
Copy link
Owner

hi.
If you have a VPS you need to configure it as follows:
os.environ.get("APP_ID", 123456)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants