Skip to content

Commit fa8c070

Browse files
Davis-Ajleclanche
authored andcommitted
Add KR region to list of acceptable regions
1 parent 64a4004 commit fa8c070

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bna/http.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def base_msg(otp, region, model):
8989
serial = decrypted_response[20:].decode()
9090

9191
region = serial[:2]
92-
if region not in ("CN", "EU", "US"):
92+
if region not in ("CN", "EU", "KR", "US"):
9393
raise ValueError("Unexpected region: %r" % (region))
9494

9595
return serial, secret

0 commit comments

Comments
 (0)