Python compatibility in uptime server