Skip to content

Commit cc39016

Browse files
committed
Linter fix, combined the lines
1 parent 075832b commit cc39016

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pynetbox/core/query.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,7 @@ def get_version(self):
197197
headers = {
198198
"Content-Type": "application/json;",
199199
}
200-
req = self.http_session.get(
201-
self.normalize_url(self.base),
202-
headers=headers,
203-
)
200+
req = self.http_session.get(self.normalize_url(self.base), headers=headers,)
204201
if req.ok:
205202
return req.headers.get("API-Version", "")
206203
else:

0 commit comments

Comments
 (0)