Fix blind replace ('text' into 'str') from py3 port
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Sat, 09 Dec 2023 01:03:43 +0100
changeset 3883 a6e7dd8bac36
parent 3882 c7ec55cbd35a
child 3884 34da877021d5
child 3888 bd1804e28e05
Fix blind replace ('text' into 'str') from py3 port
runtime/WampClient.py
--- a/runtime/WampClient.py	Sat Dec 09 01:01:48 2023 +0100
+++ b/runtime/WampClient.py	Sat Dec 09 01:03:43 2023 +0100
@@ -443,7 +443,7 @@
 
 def getDownloadUrl(ctx, argument):
     if lastKnownConfig is not None:
-        return url.URL.fromConstr(ctx).\
+        return url.URL.fromContext(ctx).\
             child(WAMP_SECRET_URL).\
             child(lastKnownConfig["ID"] + ".secret")