Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.

Commit

Permalink
Unnecessary tapping
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny committed Nov 1, 2008
1 parent faa00be commit 4c7068f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loved.rb
Expand Up @@ -34,7 +34,7 @@ def ensure_play_lists_directory_exists!
end

def mpd
MPD.new.tap { |mpd| mpd.connect }
MPD.new.connect
rescue SocketError, Errno::ECONNREFUSED
abort "Couldn't not connect to MPD"
end
Expand Down

0 comments on commit 4c7068f

Please sign in to comment.