mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Change the function name in genbackend.py
This commit is contained in:
parent
de71123ab4
commit
bf130d1da0
2 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ LABEL_REPEATED = 3
|
|||
|
||||
# messages we don't want to unroll in codegen
|
||||
SKIP_UNROLL_INPUT = {"TranslateString"}
|
||||
SKIP_DECODE = {"Graphs", "GraphsPreferences"}
|
||||
SKIP_DECODE = {"Graphs", "GetGraphsPreferences"}
|
||||
|
||||
|
||||
def python_type(field):
|
||||
|
|
|
@ -256,7 +256,7 @@ def graph_data() -> bytes:
|
|||
return aqt.mw.col.backend.graphs(search=args["search"], days=args["days"])
|
||||
|
||||
|
||||
def graph_preferences() -> pb.GraphsPreferences:
|
||||
def graph_preferences() -> bytes:
|
||||
return aqt.mw.col.backend.get_graphs_preferences()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue