Skip to content

Commit

Permalink
apollo_fpga: Add Python version to info
Browse files Browse the repository at this point in the history
  • Loading branch information
mossmann committed Jul 20, 2024
1 parent 0195c89 commit fca0612
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apollo_fpga/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import usb.core
import platform
import errno
import sys

from .jtag import JTAGChain
from .spi import DebugSPIConnection
Expand Down Expand Up @@ -158,7 +159,8 @@ def print_info(cls, ids=None, force_offline=False, timeout=5000, out=print):
Return True if any connected device is found.
"""
out(f"Apollo version: {__version__}\n")
out(f"Apollo version: {__version__}")
out(f"Python version: {sys.version}\n")

found_device = False
if ids is None:
Expand Down

0 comments on commit fca0612

Please sign in to comment.