Fix variable name typo in PropString
This commit is contained in:
parent
ffb211b009
commit
493109954b
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user