Added basic exception handling for number conversion, as the UPS can also send messages by itself, changing the expected return string and causing exceptions.
Added basic exception handling for number conversion, as the UPS can also send messages by itself, changing the expected return string and causing exceptions.

miahi/python.apcserial