update of python scripts
This commit is contained in:
parent
c46be0d3e5
commit
c8da3418bf
@ -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:
|
||||
|
@ -13,7 +13,7 @@ BUFFER_SIZE = 500
|
||||
def addSources(sources_buffer):
|
||||
data = {
|
||||
'operation': 'addSources',
|
||||
'sources':sources
|
||||
'sources':sources_buffer
|
||||
}
|
||||
|
||||
req = urllib2.Request(address)
|
||||
|
Loading…
Reference in New Issue
Block a user