Commits

Anonymous committed 7a984b6

update

Comments (0)

Files changed (1)

 
 Dustin Smith, 2011
 """
-
 from wsgiref import simple_server
 from webob import Request, Response
 from webob import exc
 from simplejson import loads, dumps
 import traceback
 import sys
+import os
 
 from progressbar import *
 
         classname = "edu.stanford.nlp.pipeline.StanfordCoreNLP"
 
         for jar in jars:
-            if not os.file.exists(jar):
+            if not os.path.exists(jar):
                 print "Error! Cannot locate %s" % jar
                 sys.exit(1)