def __init__(self): self._stdscr = None self._version = 0.5 EKG_CONFIG.read()
def create_time(text): if EKG_CONFIG.get('log_timestamp') != None: time_struct = time.strptime(text, EKG_CONFIG.get('log_timestamp')) return time.mktime(time_struct) else: return int(text)