Skip to content

Commit

Permalink
Fallback to tomli in older python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
oz123 committed May 7, 2023
1 parent aa92ec6 commit faac22d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pipenv/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
try:
import tomllib as toml
except ImportError:
import tomli as toml
from pipenv.vendor import tomli as toml

from pipenv.cmdparse import Script
from pipenv.environment import Environment
Expand Down
2 changes: 1 addition & 1 deletion pipenv/utils/toml.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
try:
import tomllib as toml
except ImportError:
import tomli as toml
from pipenv.vendor import tomli as toml

from pipenv.vendor import tomlkit

Expand Down

0 comments on commit faac22d

Please sign in to comment.