mirror of
https://github.com/dnet/pySSTV.git
synced 2026-01-16 05:31:25 +01:00
simplified cleanup in GIMP plugin
This commit is contained in:
parent
213d987955
commit
e395427dfb
|
|
@ -161,9 +161,8 @@ def transmit_current_image(image, drawable, mode, vox, fskid):
|
|||
Button(buttons, text="Close", command=tm.close).pack(side=LEFT)
|
||||
buttons.pack()
|
||||
root.mainloop()
|
||||
tm.stop()
|
||||
tm1750.stop()
|
||||
cu.stop()
|
||||
for obj in (tm, tm1750, cu):
|
||||
obj.stop()
|
||||
finally:
|
||||
os.remove(png_fn)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue