Skip to content

Commit

Permalink
Fix RecursionError in extauth Python example
Browse files Browse the repository at this point in the history
  • Loading branch information
Natureshadow authored and badlop committed Jul 31, 2024
1 parent af90c67 commit 8f89ab5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/developer/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,6 @@ def read():
write(True)
else:
write(False)
read()
def write(result):
if result:
Expand All @@ -1147,7 +1146,8 @@ def write(result):
if __name__ == "__main__":
try:
read()
while True:
read()
except struct.error:
pass
```

0 comments on commit 8f89ab5

Please sign in to comment.