mirror of
https://github.com/beetbox/beets.git
synced 2026-01-14 20:24:36 +01:00
fetchart: Fix #1581, splitting in Wikipedia source
This commit is contained in:
parent
b5cb4e4cc4
commit
e249fcb06f
1 changed files with 2 additions and 1 deletions
|
|
@ -269,7 +269,8 @@ class Wikipedia(ArtSource):
|
|||
# An additional Wikipedia call can help to find the real filename.
|
||||
# This may be removed once the DBPedia issue is resolved, see:
|
||||
# https://github.com/dbpedia/extraction-framework/issues/396
|
||||
if '.' not in cover_filename.split(' .')[-1]:
|
||||
if ' .' in cover_filename and \
|
||||
'.' not in cover_filename.split(' .')[-1]:
|
||||
self._log.debug(
|
||||
'wikipedia: dbpedia provided incomplete cover_filename'
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue