Reverse bitcoin log output

This commit is contained in:
Taylor Helsper 2020-02-04 20:12:52 -06:00
parent 60b8e5626a
commit dd0c53bea0

View File

@ -128,6 +128,11 @@ def get_system_uptime():
uptime = uptime.strip()
return uptime
def get_system_date():
date = subprocess.check_output('date', shell=True)
date = date.strip()
return date
def get_device_serial():
serial = subprocess.check_output("cat /proc/cpuinfo | grep Serial | cut -d ' ' -f 2", shell=True)
serial = serial.strip()