depot/third_party/nixpkgs/pkgs/development/python-modules/deltachat2/paths.patch
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

13 lines
567 B
Diff

diff --git a/deltachat2/transport.py b/deltachat2/transport.py
index a93dc7e..251947b 100644
--- a/deltachat2/transport.py
+++ b/deltachat2/transport.py
@@ -71,7 +71,7 @@ class IOTransport:
# `process_group` is not supported before Python 3.11.
kwargs = {"preexec_fn": os.setpgrp, **self._kwargs} # noqa: PLW1509
self.process = subprocess.Popen( # noqa: R1732
- "deltachat-rpc-server",
+ "@deltachatrpcserver@",
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
**kwargs,