Skip to content

Commit

Permalink
fix __main__ version test (#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbant committed Aug 30, 2024
1 parent d9cd369 commit d14d6c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cobaya/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def run_command():
prefix = "cobaya-"
console_scripts = (
metadata.entry_points().select(group="console_scripts")
if sys.version_info > (3, 9)
if sys.version_info >= (3, 10)
else metadata.entry_points()["console_scripts"]
)
for script in console_scripts:
Expand Down

0 comments on commit d14d6c3

Please sign in to comment.