Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.

Commit 2d0c5d4

Browse files
author
Jean A. Senellart
committed
fix broken launch
1 parent 7d313de commit 2d0c5d4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## Unreleased
2+
3+
## Fixes and improvements
4+
* Fix broken 'trans'
5+
16
## [v0.4.0](https://github.com/OpenNMT/nmt-wizard/releases/tag/v0.4.0) (2018-09-19)
27

38
### New features

client/launcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def process_request(serviceList, cmd, is_json, args, auth=None):
298298
content["iterations"] = args.iterations
299299
if args.priority:
300300
content["priority"] = args.priority
301-
if args.totranslate:
301+
if 'totranslate' in args and args.totranslate:
302302
content["totranslate"] = args.totranslate
303303

304304
logger.debug("sending request: %s", json.dumps(content))

0 commit comments

Comments
 (0)