Remove dead path normalization

The `self.path` field was immediately overwritten in the __init__ from dbcore,
so this was doing nothing.
This commit is contained in:
Adrian Sampson 2016-06-30 14:29:50 -07:00
parent c532860613
commit a6830ae7d1

View file

@ -1208,8 +1208,6 @@ class Library(dbcore.Database):
path_formats=((PF_KEY_DEFAULT,
'$artist/$album/$track $title'),),
replacements=None):
if path != ':memory:':
self.path = bytestring_path(normpath(path))
super(Library, self).__init__(path)
self.directory = bytestring_path(normpath(directory))