commit 06a68be1d55ff336b4f032e4aca2876010a1185b
parent df875a4f0763515947189cb96dc116f074950b05
Author: lostd <lostd@2f30.org>
Date: Tue, 1 Jan 2013 11:40:09 +0000
Style fixes
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/bin/musicfix b/bin/musicfix
@@ -167,7 +167,6 @@ unless cmd == 'dump' then
end
# Initialize release info
-
if cmd == 'load' then
# Load release data from file
if File.exists? relfile then
@@ -210,7 +209,7 @@ else
tl.each do |s|
trk = {}
trk['pos'] = s.position
- trk['artist'] = mkartist s.artists unless s.artists == nil
+ trk['artist'] = mkartist s.artists if s.artists
trk['title'] = s.title
rel['tracklist'] << trk
end