aboutsummaryrefslogtreecommitdiff
path: root/helpers/mapping.py
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2016-06-19 22:44:54 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2016-06-19 22:44:54 +0200
commit23b7e0e5daf024e87d967ede3dfe6777a07e7469 (patch)
tree066f4d4c1678ac4ce4f441d042b36b30818c9597 /helpers/mapping.py
parentb86db9f1679c855c2d39a0b116f846d271271a2c (diff)
downloadMusicSampler-23b7e0e5daf024e87d967ede3dfe6777a07e7469.tar.gz
MusicSampler-23b7e0e5daf024e87d967ede3dfe6777a07e7469.tar.zst
MusicSampler-23b7e0e5daf024e87d967ede3dfe6777a07e7469.zip
Fix threading problems with ipython
Diffstat (limited to 'helpers/mapping.py')
-rw-r--r--helpers/mapping.py2
1 files changed, 1 insertions, 1 deletions
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:
130 should_redraw_key = key.draw(self.background) 130 should_redraw_key = key.draw(self.background)
131 131
132 if should_redraw_key: 132 if should_redraw_key:
133 threading.Thread(target = key.poll_redraw, args = [self.background]).start() 133 threading.Thread(name = "MSPollRedraw", target = key.poll_redraw, args = [self.background]).start()
134 self.blit() 134 self.blit()
135 135
136 def blit(self): 136 def blit(self):