Commit fe3ba85bdc33e51b685a6f1eb023ac245f475f40

Authored by Erickson Silva
1 parent e675c756
Exists in devel

[TranslationServer] Corrige verificação de parametros

Showing 2 changed files with 1 additions and 3 deletions   Show diff stats
.gitignore
... ... @@ -10,8 +10,6 @@
10 10 *.jar
11 11 *.pyc
12 12 *.srt
13   -vlibras_user
14   -tamanho.txt
15 13 vlibras
16 14 doc/
17 15 build/
18 16 \ No newline at end of file
... ...
src/TranslationServer.py
... ... @@ -57,7 +57,7 @@ def logger():
57 57 def init_mode(args):
58 58 global RUN_MODE
59 59 if args.logfile: logger()
60   - RUN_MODE = args.mode.upper()
  60 + RUN_MODE = args.mode.lower()
61 61 if RUN_MODE == "dict":
62 62 dict_mode()
63 63 print "# Server started in dictionary mode. Requests will be accepted for translation of texts and download bundles.\n# Endpoints '/translate' and '/<PLATFORM>/<SIGN>' are available."
... ...