clinton-hall / nzbToMedia

Provides NZB and Torrent postprocessing To CouchPotatoServer, SickBeard/SickRage, HeadPhones, Mylar and Gamez
GNU General Public License v3.0
674 stars 176 forks source link

Fix issue with no Require_lan set #1856 (#1892) #1893

Closed clinton-hall closed 2 years ago

clinton-hall commented 2 years ago

Thanks @BradKollmyer

Description

A split of an empty string will return a list of [''] and return this for the assignment. So the default '' value will not set this as None but rather a single empty string.

Fixes #1856

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

User verified.

Test Configuration:

Checklist:

clinton-hall commented 2 years ago

@BradKollmyer I'm ready to merge this if you can confirm that this resolves the issue.

BradKollmyer commented 2 years ago

Changes look good.

clinton-hall commented 2 years ago

Thanks again for flagging this so quick... I was just looking at the settings today and one option is to set PRs to require approval before they get merged... the problem is I'm all on my own here and usually trying to do a quick tidy up during my lunch break!