Przeglądaj źródła

book: Correct element for method name in JSON-RPC doc generator.

parazyd 4 lat temu
rodzic
commit
aa0b73d8a2
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      book/build_jsonrpc.py

+ 1 - 1
book/build_jsonrpc.py

@@ -28,7 +28,7 @@ def main(path):
 
         if parsing_method:
             if i.startswith("// --> "):
-                method = i.split()[3][1:-2]
+                method = i.split()[5][1:-2]
                 recv = i[3:]
                 continue