From b9d7ea37bee64aec523eb6eaca53e6f3107439fa Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Thu, 26 Mar 2015 21:54:46 +0100 Subject: [PATCH] commands: Exception.message is deprecated --- mopidy/commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mopidy/commands.py b/mopidy/commands.py index ebb2c891..dd91f5de 100644 --- a/mopidy/commands.py +++ b/mopidy/commands.py @@ -38,7 +38,8 @@ def config_override_type(value): class _ParserError(Exception): - pass + def __init__(self, message): + self.message = message class _HelpError(Exception):