Charles Lepple
2013-Jul-17 03:11 UTC
[Nut-upsdev] Patch - NUT-monitor: parse battery.runtime as a float instead of as int
forgot to hit reply-all. On Jul 16, 2013, at 10:54 PM, Charles Lepple wrote:> On Jul 16, 2013, at 9:33 AM, Sven Putteneers wrote: > >> I've attached a patch that changes the parsing of battery.runtime in >> NUT-monitor from int to float. >> This already happens for ups.temperature, charge and load. >> >> Without this patch, I get a flood of "Invalid literal for int with base >> 10: '28500.00" errors. > > Committed. Thanks! > > -- > Charles Lepple > clepple at gmail