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-10 16:30:59 +0100 |
commit | 5fee56440c10f81286699a4dd9e32506aa342d54 (patch) | |
tree | 8f577c41a90ab3649e209b2b7ce66af34ba34d59 /src/core.py | |
parent | 62c4f67ea53c6b1c7f4092349f4c746e5bdb14f1 (diff) | |
download | poezio-5fee56440c10f81286699a4dd9e32506aa342d54.tar.gz poezio-5fee56440c10f81286699a4dd9e32506aa342d54.tar.bz2 poezio-5fee56440c10f81286699a4dd9e32506aa342d54.tar.xz poezio-5fee56440c10f81286699a4dd9e32506aa342d54.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): """ |