more graceful ending by deleting the graphics and cleanup
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 215 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 51 KiB |
+4
-1
@@ -5,6 +5,7 @@ from tkinter.font import Font
|
|||||||
from PIL import Image
|
from PIL import Image
|
||||||
import requests
|
import requests
|
||||||
import urllib
|
import urllib
|
||||||
|
import os
|
||||||
|
|
||||||
|
|
||||||
class RadioParadise(object):
|
class RadioParadise(object):
|
||||||
@@ -80,4 +81,6 @@ def main():
|
|||||||
|
|
||||||
if __name__=="__main__":
|
if __name__=="__main__":
|
||||||
main()
|
main()
|
||||||
|
os.remove("album_art.gif")
|
||||||
|
os.remove("album_art.jpg")
|
||||||
|
os._exit(0)
|
||||||
|
|||||||
Reference in New Issue
Block a user