mirror of
https://github.com/H-uru/korman.git
synced 2025-07-15 10:54:18 +00:00
Less fiddly ExportException
This commit is contained in:
@ -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):
|
||||
|
Reference in New Issue
Block a user