From 882001d22040619aee39aa6b3f74a3704d04c4f8 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Tue, 19 Mar 2019 23:03:17 +0000 Subject: Support symlinks --- z80count.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/z80count.py b/z80count.py index c7a4957..9476439 100755 --- a/z80count.py +++ b/z80count.py @@ -56,7 +56,7 @@ def main(): in_f = args.infile out_f = args.outfile - table_file = path.realpath(path.join(path.dirname(__file__), "z80table.json")) + table_file = path.join(path.dirname(path.realpath(__file__)), "z80table.json") with open(table_file, "rt") as fd: table = json.load(fd) -- cgit v1.2.3