Change the function name in genbackend.py
This commit is contained in:
parent
de71123ab4
commit
bf130d1da0
@ -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 New Issue
Block a user