diff options
Diffstat (limited to 'pylint/pyreverse/writer.py')
-rw-r--r-- | pylint/pyreverse/writer.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pylint/pyreverse/writer.py b/pylint/pyreverse/writer.py index 3c75f06a0..ece3c6593 100644 --- a/pylint/pyreverse/writer.py +++ b/pylint/pyreverse/writer.py @@ -35,9 +35,7 @@ class DiagramWriter: basename = diagram.title.strip().replace(" ", "_") file_name = f"{basename}.{self.config.output_format}" if os.path.exists(self.config.output_directory): - file_name = os.path.join( - self.config.output_directory, - file_name) + file_name = os.path.join(self.config.output_directory, file_name) self.set_printer(file_name, basename) if diagram.TYPE == "class": self.write_classes(diagram) |