mirror of
https://github.com/beetbox/beets.git
synced 2025-12-11 19:16:07 +01:00
Merge pull request #2196 from codyopel/py3/fromfilename
fromfilename: fix dict view conversion for python3 (fix #2195)
This commit is contained in:
commit
7c33d6858c
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ def apply_matches(d):
|
|||
"""Given a mapping from items to field dicts, apply the fields to
|
||||
the objects.
|
||||
"""
|
||||
some_map = d.values()[0]
|
||||
some_map = list(d.values())[0]
|
||||
keys = some_map.keys()
|
||||
|
||||
# Only proceed if the "tag" field is equal across all filenames.
|
||||
|
|
|
|||
Loading…
Reference in a new issue