Skip to content

Commit

Permalink
Allow string gateway id
Browse files Browse the repository at this point in the history
  • Loading branch information
datagutten committed Jun 24, 2022
1 parent ee43e13 commit dd28e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apc_smartconnect/APCSmartConnect.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def gateways(self):

def gateway_info(self, gateway_id):
return self.get(
'gateways/%d' % gateway_id)
'gateways/%s' % gateway_id)

def gateway_info_detail(self, gateway_id):
return self.get(
Expand Down

0 comments on commit dd28e4c

Please sign in to comment.