Minor
This commit is contained in:
@@ -22,7 +22,6 @@ class FreqObserver(threading.Thread):
|
|||||||
while not self._end:
|
while not self._end:
|
||||||
self._update_view()
|
self._update_view()
|
||||||
sleep(0.1)
|
sleep(0.1)
|
||||||
self._update_view()
|
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
self._end = True
|
self._end = True
|
||||||
@@ -43,8 +42,8 @@ class FreqObserver(threading.Thread):
|
|||||||
sys.stdout.flush()
|
sys.stdout.flush()
|
||||||
|
|
||||||
data_str = ""
|
data_str = ""
|
||||||
for tf in tuples:
|
for (w, c) in tuples:
|
||||||
data_str += str(tf[0]) + ' - ' + str(tf[1]) + '\n'
|
data_str += str(w) + ' - ' + str(c) + '\n'
|
||||||
refresh_screen(data_str)
|
refresh_screen(data_str)
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user