From a6830ae7d11b7864cbd2a8203b4b72522c9d1971 Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Thu, 30 Jun 2016 14:29:50 -0700 Subject: [PATCH] Remove dead path normalization The `self.path` field was immediately overwritten in the __init__ from dbcore, so this was doing nothing. --- beets/library.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/beets/library.py b/beets/library.py index 5ef809122..a6e0b7a13 100644 --- a/beets/library.py +++ b/beets/library.py @@ -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))