Skip to content

Commit 51a82d1

Browse files
author
Thomas
committed
Revert PR #52. Didn't work yet
1 parent 882fadd commit 51a82d1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

netbox/connection.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,7 @@ def get(self, param, key=None, limit=0, **kwargs):
9393

9494
resp_data = self.__request('GET', params=param, key=key, url=url)
9595

96-
if resp_data.get('results', None):
97-
return resp_data['results']
98-
else:
99-
return resp_data
96+
return resp_data['results']
10097

10198
def put(self, params):
10299

0 commit comments

Comments
 (0)