diff options
Diffstat (limited to 'music_sampler.py')
-rw-r--r-- | music_sampler.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/music_sampler.py b/music_sampler.py index 0d9a7a9..7c0fc32 100644 --- a/music_sampler.py +++ b/music_sampler.py | |||
@@ -4,10 +4,15 @@ from kivy.uix.relativelayout import RelativeLayout | |||
4 | from kivy.properties import ListProperty, StringProperty | 4 | from kivy.properties import ListProperty, StringProperty |
5 | from kivy.clock import Clock | 5 | from kivy.clock import Clock |
6 | from kivy.core.window import Window | 6 | from kivy.core.window import Window |
7 | 7 | from kivy.lang import Builder | |
8 | from helpers.key import Key | 8 | from helpers.key import Key |
9 | from helpers.mapping import Mapping | 9 | from helpers.mapping import Mapping |
10 | 10 | ||
11 | import sys | ||
12 | |||
13 | if getattr(sys, 'frozen', False): | ||
14 | Builder.load_file(sys._MEIPASS + '/musicsampler.kv') | ||
15 | |||
11 | class PlayList(RelativeLayout): | 16 | class PlayList(RelativeLayout): |
12 | playlist = ListProperty([]) | 17 | playlist = ListProperty([]) |
13 | 18 | ||