Show Python version on --version

issue #956
This commit is contained in:
James Booth
2017-08-10 22:17:05 +01:00
parent e9701cfafa
commit 17b4e45c57
4 changed files with 22 additions and 4 deletions

View File

@@ -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