summaryrefslogtreecommitdiffstats
path: root/clerk
diff options
context:
space:
mode:
Diffstat (limited to 'clerk')
-rwxr-xr-xclerk3
1 files changed, 1 insertions, 2 deletions
diff --git a/clerk b/clerk
index b9768c5..5ea2b0f 100755
--- a/clerk
+++ b/clerk
@@ -517,10 +517,9 @@ sub mpd_add_items {
}
sub mpd_rate_items {
- my $rating = @_[1];
+ my $rating = $_[1];
chomp $rating;
if ($rating eq "Delete Rating") {
- print "$rating\n";
$mpd->sticker_value("song", "$_", "rating", undef) for @{$_[0]};
} else {
$mpd->sticker_value("song", "$_", "rating", "$rating") for @{$_[0]};