diff options
Diffstat (limited to 'Parsers.hs')
-rw-r--r-- | Parsers.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -79,7 +79,7 @@ templateParser = many . templateStringParser -- | Actually runs the template parsers parseTemplate :: Config -> String -> IO [(Runnable,String,String)] parseTemplate c s = - do str <- case (parse (templateParser c) "" s) of + do str <- case parse (templateParser c) "" s of Left _ -> return [("","","")] Right x -> return x let cl = map alias (commands c) |