示例#1
0
 def __init__(self):
     self._stdscr = None
     self._version = 0.5
     EKG_CONFIG.read()
示例#2
0
 def __init__(self):
     self._stdscr = None
     self._version = 0.5
     EKG_CONFIG.read()
示例#3
0
 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)