Skip to content

Commit 979518e

Browse files
committed
fix intendation
1 parent 11a1b9d commit 979518e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

overpy/__init__.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,9 @@ def query(self, query):
151151
else:
152152
content_type = f.getheader("Content-Type")
153153

154-
if ";" in content_type:
155-
content_type, charset = content_type.split(";")
156-
157-
charset = charset.split("=")[1]
154+
if ";" in content_type:
155+
content_type, charset = content_type.split(";")
156+
charset = charset.split("=")[1]
158157

159158
if content_type == "application/json":
160159
return self.parse_json(response)

0 commit comments

Comments
 (0)