Changed way of identification of 100%

This commit is contained in:
Timendum 2016-06-27 14:27:58 +02:00
parent 97be4c4a3b
commit 00170f3c2e

View file

@ -55,7 +55,7 @@ class FileHandler
try {
$lines = explode("\r", file_get_contents($file));
$content["100"] = strpos($lines[count($lines)-1], ' in ') > 0;
$content["100"] = strpos($lines[count($lines)-1], ' 100% of ') > 0;
} catch (Exception $e) {
$content["100"] = False;
}