mirror of
https://github.com/beetbox/beets.git
synced 2026-01-10 01:50:34 +01:00
only import OrderedDict from collections in confit
This was only necessary in <=2.6
This commit is contained in:
parent
bc88dae726
commit
da5fb85557
1 changed files with 1 additions and 4 deletions
|
|
@ -24,10 +24,7 @@ import sys
|
|||
import yaml
|
||||
import collections
|
||||
import re
|
||||
try:
|
||||
from collections import OrderedDict
|
||||
except ImportError:
|
||||
from ordereddict import OrderedDict
|
||||
from collections import OrderedDict
|
||||
|
||||
UNIX_DIR_VAR = 'XDG_CONFIG_HOME'
|
||||
UNIX_DIR_FALLBACK = '~/.config'
|
||||
|
|
|
|||
Loading…
Reference in a new issue