Fix--tcp_mojifinder.py crashes on empty search result #61 by marktech0813 · Pull Request #66 · fluentpython/example-code-2e
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Conversation
I updated 21-async/mojifinder/tcp_mojifinder.py so search now builds a list of response lines and guards the writelines call, preventing any edge-case crash when there are no matches.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters