ChineseWiki icon indicating copy to clipboard operation
ChineseWiki copied to clipboard

NameError: global name 'openCC' is not defined

Open myechona opened this issue 5 years ago • 0 comments

def wiki_replace(d): ... ... return openCC.convert(s) openCC不识别,应该给wiki_replace增加一个传入的参数,改为wiki_replace(d, openCC)

myechona avatar Mar 04 '19 08:03 myechona