Closed dmegahan closed 9 years ago
Division by 0 is happening and returning -1 as peak viewers and average viewers, because of the catch and exception.
]data\itmejp\stats\D12_M05_Y2015_H16_m58_s12.json shows this.
Fixed in https://github.com/dmegahan/TwitchStats/commit/e7f184b8c28151004fb0da171e25d21ba63e5c1a. They were being reset everytime a new line was read from the csv, instead of being initialized outside of the loop.
Division by 0 is happening and returning -1 as peak viewers and average viewers, because of the catch and exception.
]data\itmejp\stats\D12_M05_Y2015_H16_m58_s12.json shows this.