Skip to content

Commit e768bbf

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 6455640 commit e768bbf

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/libImaging/Arrow.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -98,19 +98,13 @@ single_band_json(Imaging im) {
9898
return NULL;
9999
}
100100

101-
err = PyOS_snprintf(
102-
json,
103-
len,
104-
format,
105-
im->band_names[0]
106-
);
101+
err = PyOS_snprintf(json, len, format, im->band_names[0]);
107102
if (err < 0) {
108103
return NULL;
109104
}
110105
return json;
111106
}
112107

113-
114108
char *
115109
assemble_metadata(const char *band_json) {
116110
/* format is

0 commit comments

Comments
 (0)