From d1560dd8e5588e4ca0496cae58cb93a9cf43d1d9 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Sat, 28 Jan 2017 23:05:14 +0100 Subject: [PATCH] Added v1 uptime to statushandler --- statusHandler.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/statusHandler.py b/statusHandler.py index 6327da6..cb18031 100755 --- a/statusHandler.py +++ b/statusHandler.py @@ -16,6 +16,8 @@ from unicodedata import normalize from subprocess import * from socket import * +from v1/uptime.py import timeSinceBoot + # Define the socket communicating will transfered serverSocket = socket(AF_INET, SOCK_DGRAM) serverSocket.bind(('', 12000)) @@ -184,7 +186,7 @@ while True: if (message == 'temp'): return_message = temp() elif (message == 'up'): - return_message = uptime() + return_message = timeSinceBoot() elif (message == 'plex'): return_message = plex() elif (message.find('space') != -1):