mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
Absubmit fix failing to load distutils.spawn
This commit is contained in:
parent
b95c01fbea
commit
0975ee709b
1 changed files with 2 additions and 2 deletions
|
|
@ -24,7 +24,7 @@ import os
|
|||
import subprocess
|
||||
import tempfile
|
||||
|
||||
import distutils
|
||||
from distutils import spawn
|
||||
import requests
|
||||
|
||||
from beets import plugins
|
||||
|
|
@ -81,7 +81,7 @@ class AcousticBrainzSubmitPlugin(plugins.BeetsPlugin):
|
|||
pass
|
||||
# Get the executable location on the system,
|
||||
# needed to calculate the sha1 hash.
|
||||
self.extractor = distutils.spawn.find_executable(self.extractor)
|
||||
self.extractor = spawn.find_executable(self.extractor)
|
||||
|
||||
# Calculate extractor hash.
|
||||
self.extractor_sha = hashlib.sha1()
|
||||
|
|
|
|||
Loading…
Reference in a new issue