From 64e16b5004dce37aa7aefcc30c50d632cc13a089 Mon Sep 17 00:00:00 2001 From: Jack Wilsdon Date: Thu, 28 Apr 2016 00:59:45 +0100 Subject: [PATCH] Update confit to match pep8 naming standards --- beets/util/confit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beets/util/confit.py b/beets/util/confit.py index 0b29928c8..28847e760 100644 --- a/beets/util/confit.py +++ b/beets/util/confit.py @@ -136,7 +136,7 @@ class ConfigSource(dict): ) @classmethod - def of(self, value): + def of(cls, value): """Given either a dictionary or a `ConfigSource` object, return a `ConfigSource` object. This lets a function accept either type of object as an argument.