From dac26ce67147b261d79a56092320cc2f5af0d990 Mon Sep 17 00:00:00 2001 From: Luc Mcgrady Date: Wed, 29 Oct 2025 17:15:56 +0000 Subject: [PATCH] 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 7c736d984d474377c4326f0cdf473f0e039857c7. * exclude BackendFrontendService --------- Co-authored-by: Abdo --- rslib/proto/python.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rslib/proto/python.rs b/rslib/proto/python.rs index a5adb4179..5c245de1d 100644 --- a/rslib/proto/python.rs +++ b/rslib/proto/python.rs @@ -22,7 +22,7 @@ pub(crate) fn write_python_interface(services: &[BackendService]) -> Result<()> write_header(&mut out)?; for service in services { - if service.name == "BackendAnkidroidService" { + if ["BackendAnkidroidService", "BackendFrontendService"].contains(&service.name.as_str()) { continue; } for method in service.all_methods() {