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.
Default is to use an implicitly-assigned number.
"""
if isinstance(astring, AString):
self.astring = astring
if isinstance(string, AString):
self.astring = string
else:
self.astring = AString(astring)
self.astring = AString(string)
self.reference_number = reference_number
def merge_with_modals(self, modals: Modals):