Commit fe3ba85bdc33e51b685a6f1eb023ac245f475f40
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
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." | ... | ... |