diff options
Diffstat (limited to 'Plugins/Monitors/Batt.hs')
-rw-r--r-- | Plugins/Monitors/Batt.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugins/Monitors/Batt.hs b/Plugins/Monitors/Batt.hs index af5a48c..78d9eae 100644 --- a/Plugins/Monitors/Batt.hs +++ b/Plugins/Monitors/Batt.hs @@ -36,7 +36,7 @@ readFileBatt (i,s) = return (a,b) where rf file = do f <- fileExist file - if f then B.readFile file else return B.empty + if f then catRead file else return B.empty parseBATT :: [(String, String)] -> IO Batt parseBATT bfs = |