why am i so bad at everything
This commit is contained in:
parent
62e20ee6ae
commit
a1324acfba
|
@ -41,7 +41,7 @@ def make_toot_markov(query = None):
|
||||||
toot = None
|
toot = None
|
||||||
while toot == None and tries < 25:
|
while toot == None and tries < 25:
|
||||||
pin, pout = multiprocessing.Pipe(False)
|
pin, pout = multiprocessing.Pipe(False)
|
||||||
p = multiprocessing.Process(target = make_sentence, args = [pout, query])
|
p = multiprocessing.Process(target = make_sentence, args = [pout])
|
||||||
p.start()
|
p.start()
|
||||||
p.join(10)
|
p.join(10)
|
||||||
if p.is_alive():
|
if p.is_alive():
|
||||||
|
|
Reference in New Issue