dschep / dschep/ntfy

win32 backend not reenterant

Open
#139 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
5k
Forks
216
PR merge metrics
No merged PRs in 30d

Description

When I'm [using](https://github.com/dschep/ntfy/issues/138) `ntfy` as a library `win32` backend produces following error:
```
ERROR:ntfy:Failed to send notification using default
Traceback (most recent call last):
File "C:\tools\python36\lib\site-packages\ntfy\backends\default.py", line 20, in notify
module.notify(title=title, message=message, **kwargs)
File "C:\tools\python36\lib\site-packages\ntfy\backends\win32.py", line 54, in notify
WindowsBalloonTip(message, title)
File "C:\tools\python36\lib\site-packages\ntfy\backends\win32.py", line 26, in __init__
classAtom = win32gui.RegisterClass(wc)
pywintypes.error: (1410, 'RegisterClass', 'Class already exists.')
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.