beetbox / pyacoustid

Python bindings for Chromaprint acoustic fingerprinting and the Acoustid Web service
MIT License
325 stars 66 forks source link

Does not work in python 2.6 due to check_output #10

Closed sdobz closed 12 years ago

sdobz commented 12 years ago

On line 247 of acoustid.py the line: output = subprocess.check_output(command) prevents the code from working in python 2.6

A workaround I used is: output = subprocess.Popen(command,stdout=subprocess.PIPE).communicate()[0]

sampsyo commented 12 years ago

Thanks for reporting this. It's always surprising to find out which features I use every day were added in a "recent" version of Python. I'll fix this for the next release.