From 23b7e0e5daf024e87d967ede3dfe6777a07e7469 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sun, 19 Jun 2016 22:44:54 +0200 Subject: Fix threading problems with ipython --- helpers/mapping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helpers/mapping.py') diff --git a/helpers/mapping.py b/helpers/mapping.py index ee5623a..84e9941 100644 --- a/helpers/mapping.py +++ b/helpers/mapping.py @@ -130,7 +130,7 @@ class Mapping: should_redraw_key = key.draw(self.background) if should_redraw_key: - threading.Thread(target = key.poll_redraw, args = [self.background]).start() + threading.Thread(name = "MSPollRedraw", target = key.poll_redraw, args = [self.background]).start() self.blit() def blit(self): -- cgit v1.2.3