update of python scripts

This commit is contained in:
Rafał Jaworski 2019-03-03 19:55:11 +01:00
parent c46be0d3e5
commit c8da3418bf
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -13,7 +13,7 @@ BUFFER_SIZE = 500
def addSources(sources_buffer):
data = {
'operation': 'addSources',
'sources':sources
'sources':sources_buffer
}
req = urllib2.Request(address)