Loading asn2md.py +1 −1 Original line number Diff line number Diff line Loading @@ -336,7 +336,7 @@ def main(): cnt = 0 for a in o_args.modules: try: content = open(a, encoding='latin-1').read() content = open(a, mode="r", encoding='utf-8').read() cnt += parseAsn(o_args.out, content) except IOError as e: sys.stderr.write(e[1]+"\n") Loading Loading
asn2md.py +1 −1 Original line number Diff line number Diff line Loading @@ -336,7 +336,7 @@ def main(): cnt = 0 for a in o_args.modules: try: content = open(a, encoding='latin-1').read() content = open(a, mode="r", encoding='utf-8').read() cnt += parseAsn(o_args.out, content) except IOError as e: sys.stderr.write(e[1]+"\n") Loading