diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-12-17 02:50:12 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-12-17 02:50:12 -0300 |
commit | e1793335a756f491593a3f36e3d6b6eee2c7a005 (patch) | |
tree | 5a39ccb2a59dc3db6d582a2763ee72649f4b2c8d /game/01_init.rpy | |
parent | c707470f1e3b5ddfe82ef09d9b79905d09684ebe (diff) | |
download | client-e1793335a756f491593a3f36e3d6b6eee2c7a005.tar.gz client-e1793335a756f491593a3f36e3d6b6eee2c7a005.tar.bz2 client-e1793335a756f491593a3f36e3d6b6eee2c7a005.tar.xz client-e1793335a756f491593a3f36e3d6b6eee2c7a005.zip |
Replace websocket-client with ws4py
Both are dead but well, Python 2.7 is dead, soooo
Diffstat (limited to 'game/01_init.rpy')
-rw-r--r-- | game/01_init.rpy | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/game/01_init.rpy b/game/01_init.rpy index ddc00f4..226c5d1 100644 --- a/game/01_init.rpy +++ b/game/01_init.rpy @@ -16,12 +16,12 @@ # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ######################################################################################## -# Definitions +# Definitions (critical appliances, classes, imports, renpy internals, updater) init -3 python: renpy.add_python_directory("python-extra") import requests, zlib, base64, sys, copy, uuid, time, json - import websock as wsock + from ws4py.client.threadedclient import WebSocketClient # set PYTHON_VERSION variable (should be 2713, 3605 could fail) PYTHON_VERSION="%d%d%02d" % (sys.version_info.major, sys.version_info.minor, sys.version_info.micro) |