Skip to content

Commit

Permalink
PICARD-2713: Fix --stand-alone-instance handling
Browse files Browse the repository at this point in the history
The pipe server ignored the provided identifier.
  • Loading branch information
phw committed Aug 13, 2023
1 parent ddc695c commit 8adc605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions picard/util/pipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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()

Expand Down

0 comments on commit 8adc605

Please sign in to comment.