Browse Source

test addquote

master
Nemesis 6 years ago
parent
commit
7dd82b0e4d
  1. 2
      asmodee.py

2
asmodee.py

@ -1260,7 +1260,7 @@ def addquote(room,event):
global citations global citations
content = event['content'] content = event['content']
if len(json.dumps(content) > 420): if len(json.dumps(content)) > 420:
# Enlève la commande de la citation # Enlève la commande de la citation
try: try:
content['body'] = string.replace(content['body'],"\naddquote", "") content['body'] = string.replace(content['body'],"\naddquote", "")

Loading…
Cancel
Save