aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xepy.py6
1 files changed, 5 insertions, 1 deletions
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()