]> git.armaanb.net Git - lightcards.git/commitdiff
Fix project structure
authorArmaan Bhojwani <me@armaanb.net>
Wed, 10 Feb 2021 00:38:21 +0000 (19:38 -0500)
committerArmaan Bhojwani <me@armaanb.net>
Wed, 10 Feb 2021 00:38:21 +0000 (19:38 -0500)
I'm still wrapping my head around __init__.py and __main__.py

lightcards/__init__.py
lightcards/__main__.py [deleted file]

index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..82a361ea11d496aceee0c217602d22824e3f1ec4 100644 (file)
@@ -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 (file)
index 82a361e..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-import sys
-from lightcards.runner import main
-
-sys.exit(main())