mirror of
https://github.com/KevinMidboe/Node-Com-Handler.git
synced 2025-10-29 09:40:27 +00:00
Now calls old uptime function
This commit is contained in:
@@ -16,7 +16,7 @@ from unicodedata import normalize
|
||||
from subprocess import *
|
||||
from socket import *
|
||||
|
||||
from v1/uptime.py import timeSinceBoot
|
||||
# from uptime import timeSinceBoot
|
||||
|
||||
# Define the socket communicating will transfered
|
||||
serverSocket = socket(AF_INET, SOCK_DGRAM)
|
||||
@@ -186,7 +186,7 @@ while True:
|
||||
if (message == 'temp'):
|
||||
return_message = temp()
|
||||
elif (message == 'up'):
|
||||
return_message = timeSinceBoot()
|
||||
return_message = uptime()
|
||||
elif (message == 'plex'):
|
||||
return_message = plex()
|
||||
elif (message.find('space') != -1):
|
||||
|
||||
Reference in New Issue
Block a user