mirror of
https://github.com/dnet/pySSTV.git
synced 2025-12-06 07:12:00 +01:00
check for self.progress None value before calling update
This commit is contained in:
parent
0b0254fc2a
commit
1cafbc1521
|
|
@ -58,7 +58,8 @@ class Transmitter(object):
|
|||
self.audio_thread.start()
|
||||
elif self.audio_thread is not None:
|
||||
self.audio_thread.stop()
|
||||
self.progress.update_image()
|
||||
if self.progress is not None:
|
||||
self.progress.update_image()
|
||||
|
||||
def audio_thread_ended(self):
|
||||
self.tx_enabled.set(0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue