From 7dd82b0e4d5f1e08da3b8d29f366037e3c2db559 Mon Sep 17 00:00:00 2001 From: Nemesis Date: Wed, 8 Aug 2018 12:07:22 +0200 Subject: [PATCH] test addquote --- asmodee.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asmodee.py b/asmodee.py index 98a1036..d5ce12b 100755 --- a/asmodee.py +++ b/asmodee.py @@ -1260,7 +1260,7 @@ def addquote(room,event): global citations content = event['content'] - if len(json.dumps(content) > 420): + if len(json.dumps(content)) > 420: # Enlève la commande de la citation try: content['body'] = string.replace(content['body'],"\naddquote", "")