From 1269abf1f7066082af5d566ee859b53c4ed34a6b Mon Sep 17 00:00:00 2001 From: loathingKernel <142770+loathingKernel@users.noreply.github.com> Date: Sun, 28 Jan 2024 21:55:51 +0200 Subject: [PATCH] Rare: Remove dead code from main --- rare/main.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/rare/main.py b/rare/main.py index 243095d7..5263db28 100755 --- a/rare/main.py +++ b/rare/main.py @@ -24,10 +24,6 @@ def main() -> int: # fix cx_freeze multiprocessing.freeze_support() - # insert legendary for installed via pip/setup.py submodule to path - # if not __name__ == "__main__": - # sys.path.insert(0, os.path.join(os.path.dirname(__file__), "legendary")) - # CLI Options parser = ArgumentParser() parser.add_argument( @@ -121,12 +117,6 @@ def main() -> int: if __name__ == "__main__": - # run from source - # insert raw legendary submodule - # sys.path.insert( - # 0, os.path.join(pathlib.Path(__file__).parent.absolute(), "legendary") - # ) - # insert source directory if running `main.py` as python script # Required by AppImage if "__compiled__" not in globals():