Skip to content

Commit

Permalink
update build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
wxwilcke committed Oct 17, 2024
1 parent 6296086 commit 994cba1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions hypodisc/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
import sys
try:
import tomllib as toml
except ModuleNotFoundError:
except ImportError:
try:
import toml
except ModuleNotFoundError:
except ImportError:
print("Outdated Python version detected.\n"
"Please install 'toml' to continue: "
" pip3 install toml")
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
import sys
try:
import tomllib as toml
except ModuleNotFoundError:
except ImportError:
try:
import toml
except ModuleNotFoundError:
except ImportError:
print("Outdated Python version detected.\n"
"Please install 'toml' to continue: "
" pip3 install toml")
Expand Down

0 comments on commit 994cba1

Please sign in to comment.