Просмотр исходного кода

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

parazyd 4 лет назад
Родитель
Сommit
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