fix: use python 3.8+ interface
This commit is contained in:
parent
6af3a487ef
commit
be5ac939c4
2 changed files with 16 additions and 3 deletions
|
|
@ -376,7 +376,7 @@ class CursesMonitor:
|
|||
self.display()
|
||||
|
||||
# first update counter
|
||||
self.last_update = time.clock()
|
||||
self.last_update = time.perf_counter()
|
||||
self.last_state = None
|
||||
self.log_ticks = ""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue