diff --git a/mkchromecast/tray_threading.py b/mkchromecast/tray_threading.py index a8134f2b..77e6edf9 100644 --- a/mkchromecast/tray_threading.py +++ b/mkchromecast/tray_threading.py @@ -58,7 +58,7 @@ def _play_cast_(self): try: reload(mkchromecast.audio) except NameError: - from imp import reload + from importlib import reload reload(mkchromecast.audio) mkchromecast.audio.main()