Skip to content

Commit 477b554

Browse files
Merge pull request #1800 from randommm/patch-1
Update tutorial-six-python.md
2 parents 6b9a444 + 2262c30 commit 477b554

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

site/tutorials/tutorial-six-python.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,8 @@ class FibonacciRpcClient(object):
312312
correlation_id=self.corr_id,
313313
),
314314
body=str(n))
315-
self.connection.process_data_events(time_limit=None)
315+
while self.response is None:
316+
self.connection.process_data_events(time_limit=None)
316317
return int(self.response)
317318

318319

0 commit comments

Comments
 (0)