Skip to content

Commit

Permalink
Version 0.7.2
Browse files Browse the repository at this point in the history
GUI: Correctly handle EOF
  • Loading branch information
mos9527 committed Feb 6, 2025
1 parent fe81432 commit 287a709
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sssekai/__gui__.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def __patch(self, process: Popen):
if ch in (b"\r", b"\n"):
break
line.append(ch)
if ch is None:
if not ch: # EOF
break
line = b"".join(line)
line = line.decode(self.encoding)
Expand Down
2 changes: 1 addition & 1 deletion sssekai/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
__VERSION_MAJOR__ = 0
__VERSION_MINOR__ = 7
__VERSION_PATCH__ = 1
__VERSION_PATCH__ = 2

__version_tuple__ = (__VERSION_MAJOR__, __VERSION_MINOR__, __VERSION_PATCH__)
__version__ = "%s.%s.%s" % __version_tuple__

0 comments on commit 287a709

Please sign in to comment.