From 814b0ea53d5b5c1b73bb9e2455dd31c12e69abe4 Mon Sep 17 00:00:00 2001 From: Alex Pyrgiotis Date: Mon, 23 Sep 2024 19:10:12 +0300 Subject: [PATCH] FIXUP: Lint --- dangerzone/isolation_provider/base.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dangerzone/isolation_provider/base.py b/dangerzone/isolation_provider/base.py index f39cacb42..d687fc03c 100644 --- a/dangerzone/isolation_provider/base.py +++ b/dangerzone/isolation_provider/base.py @@ -314,7 +314,9 @@ def doc_to_pixels_proc( """Start a conversion process, pass it to the caller, and then clean it up.""" p = self.start_doc_to_pixels_proc(document) if platform.system() != "Windows": - assert os.getpgid(p.pid) != os.getpgid(os.getpid()), "Parent shares same PGID with child" + assert os.getpgid(p.pid) != os.getpgid( + os.getpid() + ), "Parent shares same PGID with child" try: yield p