diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2006-06-30 13:02:25 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2006-06-30 13:02:25 +0000 |
commit | 9563cf2b9d243d0b16889d36adf1b21dd7be35b7 (patch) | |
tree | 59fb90263b56e762b69c5f47ee334acc492c1f10 /src/plugins/scripts/python/weechat-python.c | |
parent | 2068aa5322872201aef553fe6825fd97ebefe6bc (diff) | |
download | weechat-9563cf2b9d243d0b16889d36adf1b21dd7be35b7.zip |
Fixed bug with spaces in script names (bug #16957)
Diffstat (limited to 'src/plugins/scripts/python/weechat-python.c')
-rw-r--r-- | src/plugins/scripts/python/weechat-python.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/plugins/scripts/python/weechat-python.c b/src/plugins/scripts/python/weechat-python.c index 99d6be83b..fd8651f2b 100644 --- a/src/plugins/scripts/python/weechat-python.c +++ b/src/plugins/scripts/python/weechat-python.c @@ -223,13 +223,7 @@ weechat_python_register (PyObject *self, PyObject *args) name, version, description); } else - { - python_plugin->print_server (python_plugin, - "Python error: unable to load script " - "\"%s\" (not enough memory)", - name); return Py_BuildValue ("i", 0); - } return Py_BuildValue ("i", 1); } @@ -1476,7 +1470,7 @@ weechat_python_load (t_weechat_plugin *plugin, char *filename) { plugin->print_server (plugin, "Python error: function \"register\" not found " - "in file \"%s\"", + "(or failed) in file \"%s\"", filename); if (PyErr_Occurred ()) PyErr_Print (); |