mirror of
https://github.com/beetbox/beets.git
synced 2026-02-01 13:03:59 +01:00
Merge branch 'master' of github.com:sampsyo/beets
This commit is contained in:
commit
8017b062fe
2 changed files with 5 additions and 1 deletions
|
|
@ -55,7 +55,9 @@ class FormattedMapping(collections.Mapping):
|
|||
def __len__(self):
|
||||
return len(self.model_keys)
|
||||
|
||||
def get(self, key, default=u''):
|
||||
def get(self, key, default=None):
|
||||
if default is None:
|
||||
default = self.model._type(key).format(None)
|
||||
return super(FormattedMapping, self).get(key, default)
|
||||
|
||||
def _get_formatted(self, model, key):
|
||||
|
|
|
|||
|
|
@ -26,6 +26,8 @@ Fixes:
|
|||
converted files.
|
||||
* Formatting templates with item data no longer confusingly shows album-level
|
||||
data when the two are inconsistent.
|
||||
* Resuming imports and beginning incremental imports should now be much faster
|
||||
when there is a lot of previously-imported music to skip.
|
||||
|
||||
.. _discogs_client: https://github.com/discogs/discogs_client
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue