connectors/__init__.py
branchpython3
changeset 3776 1fbc900ca1ce
parent 3757 814595c0ea16
child 3847 832c257d5618
--- a/connectors/__init__.py	Thu Oct 20 19:30:23 2022 +0800
+++ b/connectors/__init__.py	Sun Oct 30 13:20:58 2022 +0800
@@ -31,7 +31,7 @@
 from os import listdir, path
 from connectors.ConnectorBase import ConnectorBase
 
-connectors_packages = ["PYRO", "WAMP"]
+connectors_packages = ["PYRO"]
 
 
 def _GetLocalConnectorClassFactory(name):
@@ -81,7 +81,7 @@
         # started on demand, listening on random port
         scheme = "PYRO"
         runtime_port = confnodesroot.StartLocalRuntime()
-        uri = "PYROLOC://"+LocalHost+":" + str(runtime_port)
+        uri = f"PYRO://{LocalHost}:{runtime_port}"
 
     # commented code to enable for MDNS:// support
     # elif _scheme == "MDNS":