From 9addb08b9906266ad8835a5ac80c7ec623cff758 Mon Sep 17 00:00:00 2001 From: Ero Carrera Date: Sun, 10 Apr 2022 19:37:12 +0200 Subject: [PATCH] Ran black to reformat the code --- pefile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pefile.py b/pefile.py index a026863..cbe472b 100644 --- a/pefile.py +++ b/pefile.py @@ -6972,7 +6972,7 @@ def set_data_bytes(self, offset: int, data: bytes): if not isinstance(self.__data__, bytearray): self.__data__ = bytearray(self.__data__) - self.__data__[offset:offset + len(data)] = data + self.__data__[offset : offset + len(data)] = data def merge_modified_section_data(self): """Update the PE image content with any individual section data that has been