From f9d554d391d7cd30baef773d5fd520bbed12f5cb Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Fri, 5 Apr 2013 19:57:46 -0400 Subject: [PATCH] Less fiddly ExportException --- korman/exporter.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/korman/exporter.py b/korman/exporter.py index 7313f2e..2ef91ba 100644 --- a/korman/exporter.py +++ b/korman/exporter.py @@ -19,9 +19,8 @@ from PyHSPlasma import * class ExportError(Exception): def __init__(self, value="Undefined Export Error"): - self.value = value - def __str__(self): - return self.value + super(Exception, self).__init__(value) + class Exporter: def __init__(self, op):