Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 2, 2023
1 parent 813a407 commit aafe0c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/PIL/EpsImagePlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,9 @@ def check_required_header_comments():
# binary/ascii (1: binary, 2: ascii)
# data start identifier (the data follows after a single line which solely consists of this quoted value)
image_data_values = byte_arr[11:bytes_read].split(None, 7)
columns, rows, bit_depth, mode_id = [int(value) for value in image_data_values[:4]]
columns, rows, bit_depth, mode_id = [
int(value) for value in image_data_values[:4]
]

if bit_depth == 1:
self.mode = "1"
Expand Down

0 comments on commit aafe0c5

Please sign in to comment.