From 7494da84a119ae4195361d3ff9c43038cf2058f5 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Thu, 15 Aug 2019 20:52:19 +0100 Subject: Allow running main directly --- z80count/z80count.py | 3 +++ 1 file changed, 3 insertions(+) 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() -- cgit v1.2.3