fix: uptime calculation now Python2.6 compatible