Skip to content

Commit 714f4fb

Browse files
author
Roman
committed
add call
1 parent c6fc508 commit 714f4fb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bittensor/__main__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import sys
44

55
from bittensor import __version__
6+
from bittensor.utils.version import check_latest_version_in_pypi
67

78
if __name__ == "__main__":
89
if len(sys.argv) > 1 and sys.argv[1] == "certifi":
@@ -18,4 +19,5 @@
1819
# Run the script
1920
subprocess.run([certifi_script], check=True)
2021
else:
21-
print(f"Bittensor SDK version: {__version__}")
22+
print(f"Installed Bittensor SDK version: {__version__}")
23+
check_latest_version_in_pypi()

0 commit comments

Comments
 (0)