Skip to content

Commit

Permalink
Merge 60ecd1a into dab8327
Browse files Browse the repository at this point in the history
  • Loading branch information
insolor committed Apr 25, 2023
2 parents dab8327 + 60ecd1a commit 6e05105
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion async_tkinter_loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async def main_loop(root: tkinter.Tk) -> None:
"""
while True:
# Process all pending events
while root.dooneevent(_tkinter.DONT_WAIT):
while root.dooneevent(_tkinter.DONT_WAIT) > 0:
pass

try:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "async-tkinter-loop"
version = "0.8.0"
version = "0.8.1"
description = "Asynchronous mainloop implementation for tkinter"
authors = ["insolor <insolor@gmail.com>"]
license = "MIT"
Expand Down

0 comments on commit 6e05105

Please sign in to comment.