1. Hiroyoshi Komatsu
  2. corenlp-python

Commits

dustin smith  committed e5a2045

update

  • Participants
  • Parent commits 33828a5
  • Branches master

Comments (0)

Files changed (1)

File server.py

View file
 
         self._server = pexpect.spawn("%s -Xmx3g -cp %s %s" % (javapath, ':'.join(jars), classname))
 
-        widgets = ['Starting Server: ', Fraction(), ' ', Bar(marker=RotatingMarker()), ' ', ETA(300)]
+        widgets = ['Starting Server: ', Fraction(), ' ', Bar(marker=RotatingMarker()), ' ', ETA()]
         pbar = ProgressBar(widgets=widgets, maxval=5, force_update=True).start()
         self._server.expect("done.")
         pbar.update(1)
         pbar.update(2)
         self._server.expect("done.")
         pbar.update(3)
+        self._server.expect("done.")
+        pbar.update(4)
+        self._server.expect("done.")
+        pbar.update(5)
         self._server.expect("Entering interactive shell.")
         pbar.finish()
         print self._server.before