mirror of
https://github.com/beetbox/beets.git
synced 2026-12-01 14:56:09 -06:00
only import OrderedDict from collections in confit
This was only necessary in <=2.6
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user