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)