From ed4a0f563fc0f8dbbda9c4ad2ef6dbde9d525abd Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Sat, 17 May 2014 20:09:09 +0200 Subject: [PATCH] Hack hack hack hack --- naja/actions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/naja/actions.py b/naja/actions.py index 2407d82..5aa465a 100644 --- a/naja/actions.py +++ b/naja/actions.py @@ -130,6 +130,8 @@ class GenericBits(LocationAction): bits.clear_bits(self.clear_bits) def get_text(self, location=None): + if 'message' in self.data: + return super(GenericBits, self).get_text() parts = [] for template, bits in [ ('Set %s.', self.set_bits), ('Clear %s.', self.clear_bits), -- 2.34.1