Merge pull request #226 from 7FM/dev

fix switching on null causing NPE
This commit is contained in:
Tobias Groza 2019-12-31 00:26:27 +01:00 committed by GitHub
commit d83787a5ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -662,7 +662,7 @@ public class YoutubeStreamExtractor extends StreamExtractor {
} }
} }
return errorReason != null ? errorReason.toString() : null; return errorReason != null ? errorReason.toString() : "";
} }
/*////////////////////////////////////////////////////////////////////////// /*//////////////////////////////////////////////////////////////////////////