From 95901ecc17debcdfef32d71422fbe0a5a87d5905 Mon Sep 17 00:00:00 2001 From: benadha Date: Sat, 23 Oct 2021 16:20:05 +0700 Subject: Quick fix with cli script issue --- epy.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/epy.py b/epy.py index 47d1142..1e4b8e2 100755 --- a/epy.py +++ b/epy.py @@ -3025,6 +3025,10 @@ def parse_cli_args() -> str: return filepath -if __name__ == "__main__": +def main(): filepath = parse_cli_args() curses.wrapper(preread, filepath) + + +if __name__ == "__main__": + main() -- cgit