From 8adc60508b3f04182832d2b18aef12a2075df1bb Mon Sep 17 00:00:00 2001 From: Philipp Wolfer Date: Sun, 13 Aug 2023 13:06:44 +0200 Subject: [PATCH] PICARD-2713: Fix --stand-alone-instance handling The pipe server ignored the provided identifier. --- picard/util/pipe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/picard/util/pipe.py b/picard/util/pipe.py index e8fb6ea4d3..e0d77c328b 100644 --- a/picard/util/pipe.py +++ b/picard/util/pipe.py @@ -294,7 +294,7 @@ class UnixPipe(AbstractPipe): def __init__(self, app_name: str, app_version: str, args: Optional[Iterable[str]] = None, forced_path: Optional[str] = None, identifier: Optional[str] = None): - super().__init__(app_name, app_version, args, forced_path) + super().__init__(app_name, app_version, args, forced_path, identifier) if not self.path: raise PipeErrorNoPermission @@ -391,7 +391,7 @@ def __init__(self, app_name: str, app_version: str, args: Optional[Iterable[str] app_version = app_version.replace(".", "-") except AttributeError: pass - super().__init__(app_name, app_version, args, forced_path) + super().__init__(app_name, app_version, args, forced_path, identifier) self._remove_temp_attributes()