aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2019-08-15 20:52:19 +0100
committerJuan J. Martinez <jjm@usebox.net>2019-08-15 20:52:19 +0100
commit7494da84a119ae4195361d3ff9c43038cf2058f5 (patch)
tree7f85d734189b8870886bb65ef131efe23f341c36
parente0610ce140f9f0d083d3e93e6557073316c05bb7 (diff)
downloadz80count-7494da84a119ae4195361d3ff9c43038cf2058f5.tar.gz
z80count-7494da84a119ae4195361d3ff9c43038cf2058f5.zip
Allow running main directly
-rw-r--r--z80count/z80count.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/z80count/z80count.py b/z80count/z80count.py
index 5714c28..810985e 100644
--- a/z80count/z80count.py
+++ b/z80count/z80count.py
@@ -404,3 +404,6 @@ def main():
args.debug,
)
out_f.write(output)
+
+if __name__ == "__main__":
+ main()