py/gadict_html.py
changeset 1223 d592572cc546
parent 1032 b8e3e97178ca
child 1319 679972640f47
equal deleted inserted replaced
1222:790a5708630d 1223:d592572cc546
    56         FINAME = arg
    56         FINAME = arg
    57         continue
    57         continue
    58     if not FONAME:
    58     if not FONAME:
    59         FONAME = arg
    59         FONAME = arg
    60         continue
    60         continue
    61     raise Exception("Unnecessary argument: '{:s}'".format(arg))
    61     raise Exception("Superfluous argument: '{:s}'".format(arg))
    62 
    62 
    63 
    63 
    64 FIN = io.open(FINAME, mode='r', buffering=1, encoding="utf-8")
    64 FIN = io.open(FINAME, mode='r', buffering=1, encoding="utf-8")
    65 
    65 
    66 PARSER = gadict.Parser()
    66 PARSER = gadict.Parser()