Skip to content

Commit

Permalink
Clean up formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Jun 14, 2022
1 parent 6481d5b commit 9c09f6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysr/version_check.py
Expand Up @@ -61,7 +61,7 @@ def package_version_check(name: str):

if name == "pysr":
current_version = __version__
else:
else:
current_version = run_pip_command("show", name)
current_version = current_version[current_version.find("Version:") + 8 :]
current_version = current_version[: current_version.find("\\n")].replace(" ", "")
Expand Down

0 comments on commit 9c09f6a

Please sign in to comment.