Explorar el Código

dnet: sort outbound slots by index, not index and ID, thus improving display

lunar-mining hace 2 años
padre
commit
a1bdf77d0f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      bin/dnet/model.py

+ 1 - 1
bin/dnet/model.py

@@ -63,7 +63,7 @@ class Model:
 
             assert id in channel_lookup
             url = channel_lookup[id]["url"]
-            self.info.update_outbound(f"{id}", url)
+            self.info.update_outbound(f"{i}", url)
 
         for channel in channels:
             if channel["session"] != "seed":