Skip to content

Commit

Permalink
Fix setting owned movies when list is empty (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvlflame committed Jul 14, 2020
1 parent f5dd84f commit 5786743
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/Javinizer/Public/Javinizer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -568,11 +568,6 @@ function Javinizer {
Write-Error "[$(Get-TimeStamp)][$($MyInvocation.MyCommand.Name)] Error authenticating to JAVLibrary to set owned movies, check that your username and session-cookie are valid"
return
}
} else {
if ($global:javlibraryOwnedMovies.Length -le 1) {
Write-Error "[$(Get-TimeStamp)][$($MyInvocation.MyCommand.Name)] Error authenticating to JAVLibrary to set owned movies, check that your username and session-cookie are valid"
return
}
}
}

Expand Down Expand Up @@ -734,11 +729,6 @@ function Javinizer {
Write-Error "[$(Get-TimeStamp)][$($MyInvocation.MyCommand.Name)] Error authenticating to JAVLibrary to set owned movies, check that your username and session-cookie are valid"
return
}
} else {
if ($global:javlibraryOwnedMovies.Length -le 1) {
Write-Error "[$(Get-TimeStamp)][$($MyInvocation.MyCommand.Name)] Error authenticating to JAVLibrary to set owned movies, check that your username and session-cookie are valid"
return
}
}
}

Expand Down

0 comments on commit 5786743

Please sign in to comment.