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

unnecessary function call (perhaps) #552

Open
ImOver00 opened this issue Feb 2, 2022 · 2 comments
Open

unnecessary function call (perhaps) #552

ImOver00 opened this issue Feb 2, 2022 · 2 comments

Comments

@ImOver00
Copy link
Contributor

ImOver00 commented Feb 2, 2022

godotenv.Load()

importing autoload will build it even tho its not used but it will at least execute the init function. Meanwhile the "init" function already does godotenv.Load(). so why are you importing autoload and doing that at the same time? Shouldn't you stick to ONLY one of these?

@Southclaws
Copy link
Contributor

yeah it probably should be one or the other, can't remember why but I think it was load order. experiment with removing one and seeing if the app still works properly

@ImOver00
Copy link
Contributor Author

ImOver00 commented Feb 3, 2022

thanks, will do soon

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