aboutsummaryrefslogtreecommitdiffstats
path: root/epy.py
diff options
context:
space:
mode:
authorbenadha <benawiadha@gmail.com>2021-10-23 16:20:05 +0700
committerbenadha <benawiadha@gmail.com>2021-10-23 16:20:05 +0700
commit95901ecc17debcdfef32d71422fbe0a5a87d5905 (patch)
tree00633fd7957e08b06cbf9e29f6177467eaa2aa58 /epy.py
parent12c49f6dd18a1b736a43d80472b1d0da9023cc24 (diff)
downloadepy-95901ecc17debcdfef32d71422fbe0a5a87d5905.tar.gz
Quick fix with cli script issue
Diffstat (limited to 'epy.py')
-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()