Replace quotes

This commit is contained in:
bashrc committed 2020-02-19 18:59:42 +00:00
1 parent 3fff5275db
commit 5a87a60114
1 file changed
+1 -1
+1 -1
View File
@@ -21,7 +21,7 @@ def switchWords(baseDir: str,nickname: str,domain: str,content: str) -> str:
return content
with open(switchWordsFilename, 'r') as fp:
for line in fp:
replaceStr=line.replace('\n','')
replaceStr=line.replace('\n','').replace('"','')
wordTransform=None
if '->' in replaceStr:
wordTransform=replaceStr.split('->')