beremiz

WAMP: fix secret upload

16 months ago, Edouard Tisserant
bf2b89396fef
Parents 649f91dc4db3
Children 5d86ede7384a
WAMP: fix secret upload
--- a/runtime/WampClient.py Fri Jan 24 11:33:18 2025 +0100
+++ b/runtime/WampClient.py Fri Jan 24 15:39:06 2025 +0100
@@ -241,7 +241,7 @@
def SetWampSecret(wampSecret):
- with open(os.path.realpath(_WampSecret), 'w') as f:
+ with open(os.path.realpath(_WampSecret), 'wb') as f:
f.write(wampSecret)