diff options
author | Florent Le Coz <louiz@louiz.org> | 2012-01-10 16:30:59 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2012-01-26 10:05:35 +0100 |
commit | 83abd9f19666eea8edfcd30f80fbd08388bc8816 (patch) | |
tree | 8f577c41a90ab3649e209b2b7ce66af34ba34d59 /src/core.py | |
parent | 13430de1f4843527e07ae9edc75e114a064836e7 (diff) | |
download | poezio-83abd9f19666eea8edfcd30f80fbd08388bc8816.tar.gz poezio-83abd9f19666eea8edfcd30f80fbd08388bc8816.tar.bz2 poezio-83abd9f19666eea8edfcd30f80fbd08388bc8816.tar.xz poezio-83abd9f19666eea8edfcd30f80fbd08388bc8816.zip |
Add a simple_notify plugin
And also fix some issues, like the split of the exec_command arguments.
And the doc for the plugin, too.
Diffstat (limited to 'src/core.py')
-rw-r--r-- | src/core.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py index 883eb8fa..1023c748 100644 --- a/src/core.py +++ b/src/core.py @@ -2164,7 +2164,10 @@ class Core(object): self.remote_fifo = None else: e = Executor(command.strip()) - e.start() + try: + e.start() + except ValueError as e: # whenever shlex fails + self.information('%s' % (e,), 'Error') def get_conversation_messages(self): """ |