Replace quotes

main
Bob Mottram 2020-02-19 18:59:42 +00:00
parent 3fff5275db
commit 5a87a60114
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ def switchWords(baseDir: str,nickname: str,domain: str,content: str) -> str:
return content return content
with open(switchWordsFilename, 'r') as fp: with open(switchWordsFilename, 'r') as fp:
for line in fp: for line in fp:
replaceStr=line.replace('\n','') replaceStr=line.replace('\n','').replace('"','')
wordTransform=None wordTransform=None
if '->' in replaceStr: if '->' in replaceStr:
wordTransform=replaceStr.split('->') wordTransform=replaceStr.split('->')