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

Fix missing await statement in AsyncDatabase #119

Merged
merged 1 commit into from Feb 8, 2022
Merged

Fix missing await statement in AsyncDatabase #119

merged 1 commit into from Feb 8, 2022

Conversation

Jus-Codin
Copy link
Contributor

@Jus-Codin Jus-Codin commented Feb 8, 2022

In replit/database/database.py, line 80
From:

        self.sess.close()

To:

        await self.sess.close()

Should fix #118

@Scoder12
Copy link
Contributor

Scoder12 commented Feb 8, 2022

Thanks!

@Scoder12 Scoder12 merged commit b36030a into replit:master Feb 8, 2022
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

Successfully merging this pull request may close these issues.

AsyncDatabase RuntimeWarning: coroutine 'ClientSession.close' was never awaited
2 participants