diff --git a/src/xpra/client/client_base.py b/src/xpra/client/client_base.py index c6a1cd930b..92c22db7bf 100644 --- a/src/xpra/client/client_base.py +++ b/src/xpra/client/client_base.py @@ -542,7 +542,7 @@ def _process_set_deflate(self, packet): def _process_gibberish(self, packet): (_, message, data) = packet p = self._protocol - if (p and p.input_packetcount>0) or len([c not in string.printable for c in data])>0: + if (p and p.input_packetcount>0) or len([c for c in data if c not in string.printable])>0: log.info("Received uninterpretable nonsense: %s", message) log.info(" packet no %i data: %s", p.input_packetcount, repr_ellipsized(data)) else: