Преглед изворни кода

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

parazyd пре 4 година
родитељ
комит
aa0b73d8a2
1 измењених фајлова са 1 додато и 1 уклоњено
  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