forked from rDrama/rDrama
Fix that
parent
f658970481
commit
b2d185ada0
|
@ -54,14 +54,11 @@ def speak(data, v):
|
||||||
|
|
||||||
global messages, total
|
global messages, total
|
||||||
|
|
||||||
if SITE == 'rdrama.net': text = data[:200].strip()
|
if SITE == 'rdrama.net': text = data['message'][:200].strip()
|
||||||
else: text = data['message'][:1000].strip()
|
else: text = data['message'][:1000].strip()
|
||||||
|
|
||||||
if not text: return '', 403
|
if not text: return '', 403
|
||||||
text_html = sanitize(text, count_marseys=True)
|
text_html = sanitize(text, count_marseys=True)
|
||||||
print("\n\n\n\n\n\n\n\n\n")
|
|
||||||
print("\n\n\n\n\n\n\n\n\n")
|
|
||||||
print(data)
|
|
||||||
quotes = data['quotes']
|
quotes = data['quotes']
|
||||||
data={
|
data={
|
||||||
"id": str(uuid.uuid4()),
|
"id": str(uuid.uuid4()),
|
||||||
|
|
Loading…
Reference in New Issue