From b0b826c8703797eb2011ab70d2a2b6ad8f4a08e2 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Wed, 23 Jan 2019 11:34:23 -0600 Subject: [PATCH] Add the python version to the version output --- speedtest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/speedtest.py b/speedtest.py index dcda09c..17ba7d9 100755 --- a/speedtest.py +++ b/speedtest.py @@ -1602,7 +1602,8 @@ def ctrl_c(shutdown_event): def version(): """Print the version""" - printer(__version__) + printer('speedtest-cli %s' % __version__) + printer('Python %s' % sys.version.replace('\n', '')) sys.exit(0)