Browse Source

Less fiddly ExportException

pull/1/head
Adam Johnson 12 years ago
parent
commit
f9d554d391
  1. 5
      korman/exporter.py

5
korman/exporter.py

@ -19,9 +19,8 @@ from PyHSPlasma import *
class ExportError(Exception): class ExportError(Exception):
def __init__(self, value="Undefined Export Error"): def __init__(self, value="Undefined Export Error"):
self.value = value super(Exception, self).__init__(value)
def __str__(self):
return self.value
class Exporter: class Exporter:
def __init__(self, op): def __init__(self, op):

Loading…
Cancel
Save