Skip to content

Commit c08b844

Browse files
authored
Merge pull request #65 from NeoXiD/bugfix/invalid-classname-error
Fixed NameError in InvalidClassnameError
2 parents 75dbf1e + 478eb30 commit c08b844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reclass/errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def __init__(self, invalid_character, classname):
195195

196196
def _get_message(self):
197197
msg = "Invalid character '{0}' in class name '{1}'."
198-
return msg.format(self._char, classname)
198+
return msg.format(self._char, self._classname)
199199

200200

201201
class DuplicateNodeNameError(NameError):

0 commit comments

Comments
 (0)