mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 04:37:22 -05:00
Fix/Exclude BackendFrontendService from write_python_interface (#4410)
* Fix/Missing python import in write_header
* Revert "Fix/Missing python import in write_header"
This reverts commit 7c736d984d.
* exclude BackendFrontendService
---------
Co-authored-by: Abdo <abdo@abdnh.net>
This commit is contained in:
parent
da5b8cb5b4
commit
dac26ce671
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ pub(crate) fn write_python_interface(services: &[BackendService]) -> Result<()>
|
||||||
write_header(&mut out)?;
|
write_header(&mut out)?;
|
||||||
|
|
||||||
for service in services {
|
for service in services {
|
||||||
if service.name == "BackendAnkidroidService" {
|
if ["BackendAnkidroidService", "BackendFrontendService"].contains(&service.name.as_str()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
for method in service.all_methods() {
|
for method in service.all_methods() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue