Skip to content

Commit c677f4f

Browse files
author
brentru
committed
fix url string...
1 parent ab27552 commit c677f4f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

adafruit_azureiot.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,7 @@ def get_hub_message(self, device_id):
9191
if etag: # either complete or nack the message
9292
reject_message = False
9393
etag = etag.strip('\'"')
94-
path_complete = "https://{0}.azure-devices.net/devices/{1}/messages/ \
95-
deviceBound/{2}?api-version={3}".format(self._iot_hub_url,
96-
device_id, etag, AZ_API_VER)
94+
path_complete = "{0}.azure-devices.net/devices/{1}/messages/deviceBound/{2}?api-version={3}".format(self._iot_hub_url, device_id, etag, AZ_API_VER)
9795
print(path_complete)
9896
if reject_message:
9997
path_complete += '&reject'

0 commit comments

Comments
 (0)