|
--- a/anki/mpv.py
|
|
+++ b/anki/mpv.py
|
|
@@ -39 +39 @@ import inspect
|
|
-from distutils.spawn import find_executable # pylint: disable=import-error,no-name-in-module
|
|
+from shutil import which
|
|
@@ -68 +68 @@ class MPVBase:
|
|
- executable = find_executable("mpv")
|
|
+ executable = which("mpv")
|