Skip to content

Commit

Permalink
Tree: Format and cleanup start
Browse files Browse the repository at this point in the history
Signed-off-by: kingbri <[email protected]>
  • Loading branch information
bdashore3 committed Dec 27, 2023
1 parent 4d83d1a commit ac0d6f8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,5 +526,6 @@ def entrypoint():
log_level="debug",
)


if __name__ == "__main__":
entrypoint()
5 changes: 3 additions & 2 deletions start.bat
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ if exist "%CONDA_PREFIX%" (
echo It looks like you're in a conda environment. Skipping venv check.
) else (
if not exist "venv\" (
echo "Venv doesn't exist! Creating one for you."
echo Venv doesn't exist! Creating one for you.
python -m venv venv
call .\venv\Scripts\activate.bat
)

call .\venv\Scripts\activate.bat
)

:: Call the python script with batch args
Expand Down
2 changes: 2 additions & 0 deletions start.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ def get_argparser():


if __name__ == "__main__":
subprocess.run("pip -V")

parser = get_argparser()
args = parser.parse_args()

Expand Down

0 comments on commit ac0d6f8

Please sign in to comment.