Fix variable name typo in PropString

This commit is contained in:
Jan Petykiewicz 2018-07-21 13:47:18 -07:00
parent ffb211b009
commit 493109954b

View File

@ -727,10 +727,10 @@ class PropString(Record):
:param reference_number: Reference id number for the string. :param reference_number: Reference id number for the string.
Default is to use an implicitly-assigned number. Default is to use an implicitly-assigned number.
""" """
if isinstance(astring, AString): if isinstance(string, AString):
self.astring = astring self.astring = string
else: else:
self.astring = AString(astring) self.astring = AString(string)
self.reference_number = reference_number self.reference_number = reference_number
def merge_with_modals(self, modals: Modals): def merge_with_modals(self, modals: Modals):