Skip to content

Commit d7a3374

Browse files
authored
Merge pull request #104476 from MicrosoftDocs/LeelaRajesh-Sayana-patch-1
Update how-to-control-access.md
2 parents f1bc995 + 5e0e575 commit d7a3374

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/iot-dps/how-to-control-access.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ As a comparison, the equivalent Python code to generate a security token is:
217217
from base64 import b64encode, b64decode
218218
from hashlib import sha256
219219
from time import time
220-
from urllib import quote_plus, urlencode
220+
from urllib.parse import quote_plus, urlencode
221221
from hmac import HMAC
222222
223223
def generate_sas_token(uri, key, policy_name, expiry=3600):

0 commit comments

Comments
 (0)