From 3aacfd7147836ef95133aa88d558a1d69bbcd0cd Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Mon, 20 Jul 2015 16:45:14 +0200 Subject: [PATCH] exception: Fix typo in new CoreErrors --- mopidy/exceptions.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mopidy/exceptions.py b/mopidy/exceptions.py index 3d25471f..4aa66e63 100644 --- a/mopidy/exceptions.py +++ b/mopidy/exceptions.py @@ -23,8 +23,8 @@ class BackendError(MopidyException): class CoreError(MopidyException): - def __init(self, message, errno=None): - super(CoreError, self).__init(message, errno) + def __init__(self, message, errno=None): + super(CoreError, self).__init__(message, errno) self.errno = errno @@ -53,8 +53,8 @@ class ScannerError(MopidyException): class TracklistFull(CoreError): - def __init(self, message, errno=None): - super(TracklistFull, self).__init(message, errno) + def __init__(self, message, errno=None): + super(TracklistFull, self).__init__(message, errno) self.errno = errno