Skip to content

Commit

Permalink
Fixed console.log not working in Windows (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
Peticali authored Feb 24, 2022
1 parent 9601db1 commit 40c9e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/javascript/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def readAll():
def com_io():
global proc, stdout_thread
try:
if os.name == 'nt':
if os.name == 'nt' and 'idlelib.run' in sys.modules:
proc = subprocess.Popen(
[NODE_BIN, dn + "/js/bridge.js"],
stdin=subprocess.PIPE,
Expand Down

0 comments on commit 40c9e10

Please sign in to comment.