forked from pool/python-onionshare
- version 2.6.1
* Release updates: Automate builds with CI, make just 64-bit Windows release, make a single universal2 release for both Intel and Apple Silicon macOS
* Upgrade dependencies, including Tor, meek, and snowflake
* Bug fix: Restore the primary_action mode settings in a tab after OnionShare reconnects to Tor
* Bug fix: Fix issue with auto-connecting to Tor with persistent tabs open
* Bug fix: Fix packaging issue where Windows version of OnionShare conflicts with Windows version of Dangerzone
* Bug fix: Fix 'Use a bridge' checkbox state change
* Bug fix: Raise error from waitress if not shutdown
* Patches removed:
fix-test-cli-web.patch
onionshare-pr1677-fix-werkzeug3.patch
onionshare-poetry-core.patch
OBS-URL: https://build.opensuse.org/request/show/1153205
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-onionshare?expand=0&rev=50
18 lines
756 B
Diff
18 lines
756 B
Diff
Index: onionshare-2.6/cli/onionshare_cli/web/web.py
|
|
===================================================================
|
|
--- onionshare-2.6.orig/cli/onionshare_cli/web/web.py
|
|
+++ onionshare-2.6/cli/onionshare_cli/web/web.py
|
|
@@ -177,10 +177,10 @@ class Web:
|
|
elif self.mode == "chat":
|
|
if self.common.verbose:
|
|
self.socketio = SocketIO(
|
|
- async_mode="gevent", logger=True, engineio_logger=True
|
|
+ logger=True, engineio_logger=True
|
|
)
|
|
else:
|
|
- self.socketio = SocketIO(async_mode="gevent")
|
|
+ self.socketio = SocketIO()
|
|
self.socketio.init_app(self.app)
|
|
self.chat_mode = ChatModeWeb(self.common, self)
|
|
|