Skip to content

Commit

Permalink
Check if JVM is already started
Browse files Browse the repository at this point in the history
  • Loading branch information
MrFizzyBubbs committed Dec 11, 2024
1 parent e516d0b commit c5b8a3b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import jpype

from pymafia import start_kolmafia

start_kolmafia()
if not jpype.isJVMStarted():
start_kolmafia()

0 comments on commit c5b8a3b

Please sign in to comment.