Skip to content

Commit bae9d60

Browse files
Bump version to 0.22.0
1 parent aed23aa commit bae9d60

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

qasync/__init__.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"Mark Harviston <mark.harviston@gmail.com>, "
1515
"Arve Knudsen <arve.knudsen@gmail.com>",
1616
)
17-
__version__ = "0.21.0"
17+
__version__ = "0.22.0"
1818
__url__ = "https://github.com/CabbageDevelopment/qasync"
1919
__license__ = "BSD"
2020
__all__ = ["QEventLoop", "QThreadExecutor", "asyncSlot", "asyncClose"]
@@ -539,7 +539,10 @@ def _add_writer(self, fd, callback, *args):
539539
existing.activated["int"].disconnect()
540540
# will get overwritten by the assignment below anyways
541541

542-
notifier = QtCore.QSocketNotifier(_fileno(fd), QtCore.QSocketNotifier.Type.Write)
542+
notifier = QtCore.QSocketNotifier(
543+
_fileno(fd),
544+
QtCore.QSocketNotifier.Type.Write,
545+
)
543546
notifier.setEnabled(True)
544547
self.__log_debug("Adding writer callback for file descriptor %s", fd)
545548
notifier.activated["int"].connect(

0 commit comments

Comments
 (0)