Skip to content

Commit c3e41b2

Browse files
committed
Missing Python in driver context
1 parent bcfd489 commit c3e41b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/onl/netfishers/netshot/device/DeviceDriver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ public final Context getContext() throws IOException {
771771
.allowAccessInheritance(true)
772772
.build();
773773
Context.Builder builder = Context
774-
.newBuilder("js")
774+
.newBuilder("js", "python")
775775
.allowHostAccess(hostAccess);
776776
Context context;
777777
synchronized (engine) {

0 commit comments

Comments
 (0)