aboutsummaryrefslogtreecommitdiff
path: root/music_sampler.py
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2016-07-18 00:15:15 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2016-07-18 19:50:48 +0200
commit2e4049036ec4d90a9daeff606d821d2ac2d023ce (patch)
tree214eb998546a0a7af02c6efbe3bd64c2f297cbd3 /music_sampler.py
parentccda4cb91686d4c2b70f0c26d21c26ac3d03c3b9 (diff)
downloadMusicSampler-2e4049036ec4d90a9daeff606d821d2ac2d023ce.tar.gz
MusicSampler-2e4049036ec4d90a9daeff606d821d2ac2d023ce.tar.zst
MusicSampler-2e4049036ec4d90a9daeff606d821d2ac2d023ce.zip
Coding styles
Diffstat (limited to 'music_sampler.py')
-rw-r--r--music_sampler.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/music_sampler.py b/music_sampler.py
index 5613fdf..d91e150 100644
--- a/music_sampler.py
+++ b/music_sampler.py
@@ -50,8 +50,7 @@ class PlayList(RelativeLayout):
50 50
51 text = "{}/{}".format( 51 text = "{}/{}".format(
52 helpers.duration_to_min_sec(music_file.sound_position), 52 helpers.duration_to_min_sec(music_file.sound_position),
53 helpers.duration_to_min_sec(music_file.sound_duration) 53 helpers.duration_to_min_sec(music_file.sound_duration))
54 )
55 54
56 if music_file.is_paused(): 55 if music_file.is_paused():
57 self.playlist.append(["⏸", music_file.name, text, False]) 56 self.playlist.append(["⏸", music_file.name, text, False])