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