Skip to content

Commit

Permalink
Update vim-matlab-server.py
Browse files Browse the repository at this point in the history
  • Loading branch information
daeyun authored Nov 1, 2017
1 parent ecded7d commit eafe639
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions scripts/vim-matlab-server.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
__author__ = 'daeyun'

use_pexpect = True
try:
import pexpect
except ImportError:
use_pexpect = False
if use_pexpect:
try:
import pexpect
except ImportError:
use_pexpect = False
if not use_pexpect:
from subprocess import Popen, PIPE

import SocketServer
Expand Down

0 comments on commit eafe639

Please sign in to comment.