Fix MPDException to save error message

This commit is contained in:
coderkun 2018-11-04 19:38:43 +01:00
parent 3f12eedf96
commit b29926e041

View file

@ -21,6 +21,7 @@ from mcg.utils import Utils
class MPDException(Exception):
def __init__(self, error):
super(MPDException, self).__init__(self._parse_error(error))
self._error = error
def _parse_error(self, error):