mirror of
https://github.com/SickGear/SickGear.git
synced 2024-11-30 00:13:38 +00:00
e56303798c
Initial SickGear for Python 3.
11 lines
256 B
Python
11 lines
256 B
Python
class FanartError(Exception):
|
|
def __str__(self):
|
|
return ', '.join(map(str, self.args))
|
|
|
|
def __repr__(self):
|
|
name = self.__class__.__name__
|
|
return '%s%r' % (name, self.args)
|
|
|
|
|
|
class ResponseFanartError(FanartError):
|
|
pass
|