From c8da3418bf747c90785ef11eff13eda3fbc8e96f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Jaworski?= Date: Sun, 3 Mar 2019 19:55:11 +0100 Subject: [PATCH] update of python scripts --- tests/addFastAlignedTM.py | 2 +- tests/addSources.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/addFastAlignedTM.py b/tests/addFastAlignedTM.py index 64fc9bb..91b8881 100755 --- a/tests/addFastAlignedTM.py +++ b/tests/addFastAlignedTM.py @@ -8,7 +8,7 @@ import host import time BUFFER_SIZE = 500 -LEAVE_OUT = 2 # this leaves out every second sentence +LEAVE_OUT = 2 # that leaves out every second sentence address = 'http://'+host.concordia_host if len(host.concordia_port) > 0: diff --git a/tests/addSources.py b/tests/addSources.py index 193e727..8e9bf76 100755 --- a/tests/addSources.py +++ b/tests/addSources.py @@ -13,7 +13,7 @@ BUFFER_SIZE = 500 def addSources(sources_buffer): data = { 'operation': 'addSources', - 'sources':sources + 'sources':sources_buffer } req = urllib2.Request(address)