Skip to content

Commit

Permalink
Merge pull request #465 from psmgeelen/master
Browse files Browse the repository at this point in the history
Updates `imp` import to `importlib` for compatibility with Python 3.12
  • Loading branch information
xsdg authored May 20, 2024
2 parents 1ed7e88 + 8b892a2 commit 1d14cdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkchromecast/tray_threading.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 1d14cdf

Please sign in to comment.