mirror of
https://github.com/beetbox/beets.git
synced 2026-01-09 01:15:38 +01:00
Fix deprecated call log.warn -> log.warning
https://bugs.python.org/issue13235
This commit is contained in:
parent
728267d06c
commit
ca60555ffa
1 changed files with 1 additions and 1 deletions
|
|
@ -284,7 +284,7 @@ class DiscogsPlugin(BeetsPlugin):
|
|||
# https://www.discogs.com/help/doc/submission-guidelines-general-rules
|
||||
if not all([result.data.get(k) for k in ['artists', 'title', 'id',
|
||||
'tracklist']]):
|
||||
self._log.warn(u"Release does not contain the required fields")
|
||||
self._log.warning(u"Release does not contain the required fields")
|
||||
return None
|
||||
|
||||
artist, artist_id = self.get_artist([a.data for a in result.artists])
|
||||
|
|
|
|||
Loading…
Reference in a new issue