# HG changeset patch # User Mikael Berthe # Date 1178131348 -7200 # Node ID c66d39c6c27be6a9e0b0e1cd89c01296e35758f8 # Parent 8a1893b6b11313a81f88ab2b1e6cedb00401babd aspell: Be silent if no word is given diff -r 8a1893b6b113 -r c66d39c6c27b plugins/aspell_plugin.py --- a/plugins/aspell_plugin.py Wed May 02 20:39:20 2007 +0200 +++ b/plugins/aspell_plugin.py Wed May 02 20:42:28 2007 +0200 @@ -11,6 +11,9 @@ cmd = ['/usr/bin/aspell', '-a'] reply = "" + if not parameters: + return + LC, encoding = locale.getdefaultlocale() # Check if the language is specified (two-letter code)