aboutsummaryrefslogtreecommitdiff
path: root/z80count.py
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2019-03-19 23:03:17 +0000
committerJuan J. Martinez <jjm@usebox.net>2019-03-19 23:03:17 +0000
commit882001d22040619aee39aa6b3f74a3704d04c4f8 (patch)
tree306b98f7b138c32a11ed845c410c1702d3c6f306 /z80count.py
parent58ab0a1863c5c2db659b2b2f746188b711f19d4b (diff)
downloadz80count-882001d22040619aee39aa6b3f74a3704d04c4f8.tar.gz
z80count-882001d22040619aee39aa6b3f74a3704d04c4f8.zip
Support symlinks
Diffstat (limited to 'z80count.py')
-rwxr-xr-xz80count.py2
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)