default message for errors bugfix
This commit is contained in:
parent
a02f67f133
commit
fbff9cd94c
@ -21,7 +21,7 @@ class CiteKeyError(Exception):
|
|||||||
self.citekey = citekey
|
self.citekey = citekey
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return self.message or self.default_msg.format(self.citekey)
|
return self.message or self.default_message.format(self.citekey)
|
||||||
|
|
||||||
|
|
||||||
class CiteKeyCollision(CiteKeyError):
|
class CiteKeyCollision(CiteKeyError):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user