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

Missing OS module in sample code on day 29 #530

Open
nullr0uter opened this issue Jun 27, 2024 · 2 comments
Open

Missing OS module in sample code on day 29 #530

nullr0uter opened this issue Jun 27, 2024 · 2 comments

Comments

@nullr0uter
Copy link

Hi, thank you for your work in this repo.
I just saw a little flaw in your example codes for day 29. You're not importing the os module for this line:

port = int(os.environ.get("PORT", 5000))

Adding the following line at the top would fix it:

import os

I know it's just sample code but I wanted to inform you anyways.

@Kiklo9
Copy link

Kiklo9 commented Oct 11, 2024

import os

@Kiklo9
Copy link

Kiklo9 commented Oct 11, 2024

port = int(os.environ.get("PORT", 5000))

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