From 28a783d391366758c0fc6e6e6142af21d1047ea1 Mon Sep 17 00:00:00 2001 From: Justin Donofrio Date: Thu, 19 Dec 2024 23:12:36 -0500 Subject: [PATCH] Fix pyinstaller --- src/onthespot/__main__.py | 4 ++++ src/portable.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 src/onthespot/__main__.py diff --git a/src/onthespot/__main__.py b/src/onthespot/__main__.py new file mode 100644 index 0000000..c7c70d0 --- /dev/null +++ b/src/onthespot/__main__.py @@ -0,0 +1,4 @@ +from . import main + +if __name__ == '__main__': + main() diff --git a/src/portable.py b/src/portable.py index 84b82d6..e96679b 100755 --- a/src/portable.py +++ b/src/portable.py @@ -1,5 +1,5 @@ #!/usr/bin/python3 -from onthespot.__init__ import main +from onthespot import main if __name__ == '__main__': main()