kopia lustrzana https://github.com/dnet/pySSTV
check for self.progress None value before calling update
rodzic
0b0254fc2a
commit
1cafbc1521
|
@ -58,7 +58,8 @@ class Transmitter(object):
|
||||||
self.audio_thread.start()
|
self.audio_thread.start()
|
||||||
elif self.audio_thread is not None:
|
elif self.audio_thread is not None:
|
||||||
self.audio_thread.stop()
|
self.audio_thread.stop()
|
||||||
self.progress.update_image()
|
if self.progress is not None:
|
||||||
|
self.progress.update_image()
|
||||||
|
|
||||||
def audio_thread_ended(self):
|
def audio_thread_ended(self):
|
||||||
self.tx_enabled.set(0)
|
self.tx_enabled.set(0)
|
||||||
|
|
Ładowanie…
Reference in New Issue