Explorar o código

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

lunar-mining %!s(int64=2) %!d(string=hai) anos
pai
achega
a1bdf77d0f
Modificáronse 1 ficheiros con 1 adicións e 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":