mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 13:07:09 +01:00
Add SNI_SUPPORTED
This commit is contained in:
parent
21208b8c39
commit
b65a7da8e2
1 changed files with 2 additions and 2 deletions
|
|
@ -17,13 +17,13 @@ from __future__ import division, absolute_import, print_function
|
|||
|
||||
import pylast
|
||||
from pylast import TopItem, _extract, _number
|
||||
from beets import ui
|
||||
from beets import util
|
||||
from beets import dbcore
|
||||
from beets import config
|
||||
from beets import plugins
|
||||
from beets.dbcore import types
|
||||
|
||||
if ui.SNI_SUPPORTED >= (2, 7, 9):
|
||||
if util.SNI_SUPPORTED:
|
||||
API_URL = 'https://ws.audioscrobbler.com/2.0/'
|
||||
else:
|
||||
API_URL = 'https://ws.audioscrobbler.com/2.0/'
|
||||
|
|
|
|||
Loading…
Reference in a new issue