From df51aa2d1a28d86b79f1d25d5efa01604351c8ef Mon Sep 17 00:00:00 2001 From: Thomas Scholtes Date: Thu, 30 Jan 2014 00:11:19 +0100 Subject: [PATCH] Make --config path absolute --- beets/util/confit.py | 1 + 1 file changed, 1 insertion(+) diff --git a/beets/util/confit.py b/beets/util/confit.py index d94039f67..661a49809 100644 --- a/beets/util/confit.py +++ b/beets/util/confit.py @@ -690,6 +690,7 @@ class Configuration(RootView): def add_file(self, filename): """Parses the file as YAML and adds it to the configuration sources """ + filename = os.path.abspath(filename) self.add(ConfigSource(load_yaml(filename), filename)) class LazyConfig(Configuration):