Permalink
Browse files

Fixed bugs that stoped musictag from working

  • Loading branch information...
1 parent 2715dcc commit 7e3f140677e418f9c5c4c6f6a7e273dd990818d1 @riemann42 committed Aug 7, 2010
Showing with 4 additions and 4 deletions.
  1. +1 −1 Music-Tag-MP3
  2. +1 −1 bin/musictag
  3. +2 −2 lib/Music/Tag.pm
View
@@ -408,7 +408,7 @@ sub fix_file {
}
unless ( $options->{nochange} ) {
- push @outputplugins, $info->plugin->[0];
+ push @outputplugins, $info->plugin;
}
foreach (@inputplugins) {
View
@@ -225,8 +225,8 @@ sub close { ## no critic (ProhibitBuiltinHomonyms, ProhibitAmbiguousNames)
return $self->_foreach_plugin(
sub {
$_[0]->close();
- $_->{info} = undef;
- $_ = undef;
+ #$_->{info} = undef;
+ #$_ = undef;
}
);
}

0 comments on commit 7e3f140

Please sign in to comment.