Skip to content

NPO Watchlist website update#2170

Merged
cvium merged 4 commits intoFlexget:developfrom
mfonville:fixnpo
Jul 13, 2018
Merged

NPO Watchlist website update#2170
cvium merged 4 commits intoFlexget:developfrom
mfonville:fixnpo

Conversation

@mfonville
Copy link
Copy Markdown
Contributor

NPO updated their website, to make the plugin work again we need this change.
Also fixed an error that could occur if _get_series_info failed to fetch info

except RequestException as e:
log.error('Request error: %s' % str(e))
return series_info
return # if it failed, return empty
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could just initialize series_info to None at the top of the function

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, that was also an option I considered, I will change it

@cvium cvium merged commit ba13528 into Flexget:develop Jul 13, 2018
@mfonville mfonville deleted the fixnpo branch July 13, 2018 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants