Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit f95d209

Browse files
committed
Fix check
1 parent 36f8974 commit f95d209

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seamapi/access_codes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def create(
183183

184184
if wait_for_code:
185185
while (access_code.code is None):
186-
if (access_code.status != "unknown"):
186+
if (access_code.status == "unknown"):
187187
raise RuntimeException("Gave up waiting for code since access code status is unknown")
188188
access_code = access_codes.get(access_code)
189189

0 commit comments

Comments
 (0)