diff --git a/Pkg.py b/Pkg.py index 1d1e50a7..167f5451 100644 --- a/Pkg.py +++ b/Pkg.py @@ -117,7 +117,7 @@ def is_utf8_str(s): return 1 def readlines(path): - fobj = open(file, "r") + fobj = open(path, "r") try: return fobj.readlines() finally: