diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-06-19 22:44:54 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-06-19 22:44:54 +0200 |
commit | 23b7e0e5daf024e87d967ede3dfe6777a07e7469 (patch) | |
tree | 066f4d4c1678ac4ce4f441d042b36b30818c9597 /helpers/mapping.py | |
parent | b86db9f1679c855c2d39a0b116f846d271271a2c (diff) | |
download | MusicSampler-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.py | 2 |
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): |