ChineseWiki
ChineseWiki copied to clipboard
NameError: global name 'openCC' is not defined
def wiki_replace(d): ... ... return openCC.convert(s) openCC不识别,应该给wiki_replace增加一个传入的参数,改为wiki_replace(d, openCC)