From fa73c52fe2033bc96115e087f48b7c6f782f7611 Mon Sep 17 00:00:00 2001 From: erik Date: Wed, 22 Feb 2023 16:23:03 +0100 Subject: [PATCH] Remove asterisk on destructured args Otherwise we would create a tuple containing a tuple of arguments and an empty tuple. --- system_repository.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system_repository.py b/system_repository.py index 31c9f78..914276f 100644 --- a/system_repository.py +++ b/system_repository.py @@ -6,7 +6,7 @@ class SystemRepository(): self.stdout = [""] self.stderr = [""] - def run(self, *args): + def run(self, args): stream = sub.Popen(args, stdout=sub.PIPE, stderr=sub.PIPE,