Fix time display

master
Guillaume Seguin 2012-08-07 10:58:42 +02:00
parent 1581c12f8e
commit e6448ade53
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ def parse_temperature_report(report, key):
return float(filter(lambda x: x.startswith(key), report.split())[0].split(":")[1].split("/")[0])
def format_time(timestamp):
return time.strftime('%H:%M:%S', time.localtime(timestamp))
return time.strftime('%H:%M:%S', timestamp)
class Tee(object):
def __init__(self, target):