about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2017-08-10 22:17:05 +0100
committerJames Booth <boothj5@gmail.com>2017-08-10 22:17:05 +0100
commit17b4e45c5795ed191d06964feeb2d20ae7ec6e94 (patch)
tree5aea07eb10dd1c0cea5dc50591fed8e5e01f4a0b /src/command
parente9701cfafa74946dcac944a5ace1e1d747968313 (diff)
downloadprofani-tty-17b4e45c5795ed191d06964feeb2d20ae7ec6e94.tar.gz
Show Python version on --version
issue #956
Diffstat (limited to 'src/command')
-rw-r--r--src/command/cmd_funcs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index 16a2a2a7..850be61c 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -6463,7 +6463,7 @@ gboolean
 cmd_plugins_python_version(ProfWin *window, const char *const command, gchar **args)
 {
 #ifdef HAVE_PYTHON
-    const char *version = python_get_version();
+    const char *version = python_get_version_string();
     cons_show("Python version:");
     cons_show("%s", version);
 #else