diff options
author | Juan J. Martinez <jjm@usebox.net> | 2019-03-19 23:03:17 +0000 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2019-03-19 23:03:17 +0000 |
commit | 882001d22040619aee39aa6b3f74a3704d04c4f8 (patch) | |
tree | 306b98f7b138c32a11ed845c410c1702d3c6f306 | |
parent | 58ab0a1863c5c2db659b2b2f746188b711f19d4b (diff) | |
download | z80count-882001d22040619aee39aa6b3f74a3704d04c4f8.tar.gz z80count-882001d22040619aee39aa6b3f74a3704d04c4f8.zip |
Support symlinks
-rwxr-xr-x | z80count.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |