Skip to content
This repository was archived by the owner on Nov 18, 2024. It is now read-only.

Commit 4d48b2d

Browse files
committed
terminal launch fix
1 parent 3b7d204 commit 4d48b2d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "thetadata"
7-
version = "0.6.7"
7+
version = "0.6.8"
88
authors = [
99
{ name="Adler Weber", email="[email protected]" },
1010
{ name="Bailey Danseglio", email="[email protected]" },

thetadata/terminal.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,12 @@ def _verify_java():
5757

5858
def launch_terminal(username: str = None, passwd: str = None, use_bundle: bool = True, jvm_mem: int = 0):
5959
cwd = None
60+
use_it = False
6061

6162
if use_bundle:
62-
use_bundle = _install_jdk()
63+
use_it = _install_jdk()
6364

64-
if use_bundle:
65+
if use_it:
6566
cwd = jdk_path
6667
shutil.move("ThetaTerminal.jar", str(cwd.joinpath('ThetaTerminal.jar')))
6768
else:

0 commit comments

Comments
 (0)