Skip to content

Commit 3992934

Browse files
committed
fix
1 parent e4bbaf5 commit 3992934

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jupyter_events/logger.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
from jsonschema import ValidationError
1616
from packaging.version import parse
1717

18-
# Check if the version is greater than 3.0.0
1918
from traitlets import Dict, Instance, Set, default
2019
from traitlets.config import Config, LoggingConfigurable
2120

@@ -24,7 +23,8 @@
2423
from .traits import Handlers
2524
from .validators import JUPYTER_EVENTS_CORE_VALIDATOR
2625

27-
version_info = version("pythonjsonlogger")
26+
# Check if the version is greater than 3.1.0
27+
version_info = version("python-json-logger")
2828
if parse(version_info) >= parse("3.1.0"):
2929
from pythonjsonlogger.json import JsonFormatter
3030
else:

0 commit comments

Comments
 (0)