Grammalecte  Diff

Differences From Artifact [f2aebf4d47]:

To Artifact [f6702400a5]:


   139    139       if bEmptyIfNoErrors and not aGrammErrs and not aSpellErrs:
   140    140           return ""
   141    141       return "  " + json.dumps({ "iParagraph": iParagraph, "lGrammarErrors": aGrammErrs, "lSpellingErrors": aSpellErrs }, ensure_ascii=False)
   142    142       
   143    143   
   144    144   if __name__ == '__main__':
   145    145   
   146         -    gce.load()
          146  +    gce.load("Server")
   147    147       echo("Grammalecte v{}".format(gce.version))
   148    148       dServerOptions = getServerOptions()
   149    149       dGCOptions = getConfigOptions("fr")
   150    150       if dGCOptions:
   151    151           gce.setOptions(dGCOptions)
   152    152       dServerGCOptions = gce.getOptions()
   153    153       echo("Grammar options:\n" + " | ".join([ k + ": " + str(v)  for k, v in sorted(dServerGCOptions.items()) ]))