From d0ab8048174d27d62fe613c588de1c76a54b2ff5 Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Tue, 9 Feb 2021 19:38:21 -0500 Subject: [PATCH] Fix project structure I'm still wrapping my head around __init__.py and __main__.py --- lightcards/__init__.py | 4 ++++ lightcards/__main__.py | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 lightcards/__main__.py diff --git a/lightcards/__init__.py b/lightcards/__init__.py index e69de29..82a361e 100644 --- a/lightcards/__init__.py +++ b/lightcards/__init__.py @@ -0,0 +1,4 @@ +import sys +from lightcards.runner import main + +sys.exit(main()) diff --git a/lightcards/__main__.py b/lightcards/__main__.py deleted file mode 100644 index 82a361e..0000000 --- a/lightcards/__main__.py +++ /dev/null @@ -1,4 +0,0 @@ -import sys -from lightcards.runner import main - -sys.exit(main()) -- 2.39.2