Skip to content

Commit

Permalink
Remove test debugging statements mistakenly left in code
Browse files Browse the repository at this point in the history
  • Loading branch information
thebigmunch committed Mar 15, 2016
1 parent 79bbca2 commit 16b5fdc
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions AutodlIrssi/MatchedRelease.pm
Expand Up @@ -102,7 +102,7 @@ sub _canDownload {
if ($filter->{smartEpisode}) {
if ($ti->{episode} && $ti->{season}) {
if ($ti->{season} <= $state->{smart}{season} && $ti->{episode} <= $state->{smart}{episode}) {
$canDownload =0;
$canDownload = 0;
}
}
elsif ($ti->{episode} && !$ti->{season}) {
Expand Down Expand Up @@ -135,8 +135,6 @@ sub _canDownload {
$self->_releaseAlreadyDownloaded();
}

# print "Can Download: $canDownload";

return $canDownload;
}

Expand Down Expand Up @@ -201,7 +199,6 @@ sub start {
$self->{connId} = $AutodlIrssi::g->{activeConnections}->add($self, "Release: '$self->{ti}{torrentName}', tracker: $self->{trackerInfo}{longName}");

return if !$self->_canDownload();
# print "Can Download";

my $missing = $self->{ti}{announceParser}->getUninitializedDownloadVars();
if (@$missing) {
Expand Down Expand Up @@ -312,8 +309,6 @@ sub _onTorrentDownloaded {
my $episode = $self->{ti}{episode} ? $self->{ti}{episode} : 0;
my $season = $self->{ti}{season} ? $self->{ti}{season} : 0;

# print "Update";

my ($year, $month, $day) = (0) x 3;
if ($self->{ti}{ymd}) {
($year, $month, $day) = split(/ /, $self->{ti}{ymd});
Expand Down

0 comments on commit 16b5fdc

Please sign in to comment.