Skip to content

Commit 02ab0af

Browse files
committed
🐞 fix: import error
1 parent 06c367c commit 02ab0af

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "usepy"
3-
version = "0.1.39"
3+
version = "0.1.40"
44
description = "usepy"
55
homepage = "https://usepy.code05.com/"
66
authors = ["miclon <jcnd@163.com>"]

src/usepy/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@
4444
# plugins
4545
try:
4646
from usepy_notify import useNotify, channels as useNotifyChannels
47+
except ImportError:
48+
pass
49+
try:
4750
from usepy_logger import useLogger, useLoggerIntercept, useLoggerInterceptUvicorn
4851
except ImportError:
4952
pass

0 commit comments

Comments
 (0)