From 9643850ce6d97ce3b2b1db8124959ae30081983e Mon Sep 17 00:00:00 2001 From: rihi <19492038+rihi@users.noreply.github.com> Date: Wed, 29 Nov 2023 15:40:48 +0100 Subject: [PATCH] black --- decompiler/util/decoration.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/decompiler/util/decoration.py b/decompiler/util/decoration.py index 3626dad39..b7c4e3942 100644 --- a/decompiler/util/decoration.py +++ b/decompiler/util/decoration.py @@ -90,11 +90,7 @@ def export_plot(self, path: str, type="png"): type -- a string describing the output type (commonly pdf, png) """ with Popen( - ["dot", f"-T{type}", f"-o{path}"], - stdin=subprocess.PIPE, - stdout=subprocess.PIPE, - stderr=subprocess.PIPE, - text=True + ["dot", f"-T{type}", f"-o{path}"], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True ) as proc: dot_source: str = ToDotConverter.write(self.graph) stdout, stderr = proc.communicate(input=dot_source)