Remove redundant string compact implementation
This commit is contained in:
@@ -301,7 +301,7 @@ def uniqueCompact(text: str) -> str:
|
|||||||
def processDialogSymbols(symbols: str) -> str:
|
def processDialogSymbols(symbols: str) -> str:
|
||||||
"""Process dialogue line symbols."""
|
"""Process dialogue line symbols."""
|
||||||
result = ""
|
result = ""
|
||||||
for c in uniqueCompact("".join(symbols.split())):
|
for c in uniqueCompact(symbols):
|
||||||
if c in nwQuotes.ALLOWED:
|
if c in nwQuotes.ALLOWED:
|
||||||
result += c
|
result += c
|
||||||
return result
|
return result
|
||||||
|
|||||||
Reference in New Issue
Block a user