Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Update bottle.ext.websocket import #20

Merged

Conversation

savelkouls
Copy link

Update the import statement for bottle.ext.websocket to use bottle_websocket if available, otherwise fallback to bottle.ext.websocket. This ensures compatibility with different versions of the Bottle framework.

@savelkouls savelkouls linked an issue Mar 23, 2024 that may be closed by this pull request
@savelkouls savelkouls merged commit de4bf9e into main Mar 23, 2024
@savelkouls savelkouls deleted the 4-fix-websocket-import-error-for-python-312-compatibility branch March 23, 2024 23:33
@savelkouls
Copy link
Author

This also solved the issue that caused python-eel#722

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

Successfully merging this pull request may close these issues.

Fix WebSocket import error for Python 3.12 compatibility
1 participant