Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Manual Search] Moved the creation of the searchResult to the searchQueue item. #245

Merged

Conversation

p0psicles
Copy link
Contributor

  • PR is based on the DEVELOP branch
  • Don't send big changes all at once. Split up big PRs into multiple smaller PRs that are easier to manage and review
  • Read contribution guide
  • Changed searchResult to snakecase.
  • Removed unneeded params for snatchSelection() method.
  • Changed mako to not send unneeded params. rowid is enough.
  • Added check for getting the show_obj, chances are slim, but maybe a user leaves a snatchSelection window open, while deleting the show.
  • Some pep8 changes.
  • Added docstrings to webserve.py and search_queue.py methods.

format(self.searchResult.name,
self.searchResult.seeders, self.searchResult.seeders, self.searchResult.provider.name))
format(search_result.name,
search_result.seeders, search_result.seeders, search_result.provider.name))
Copy link
Contributor

Choose a reason for hiding this comment

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

Second search_result.seeders should be search_result.leechers.

@p0psicles
Copy link
Contributor Author

Fixed from @medariox comments, and force pushed.

* Changed searchResult to snakecase.
* Removed unneeded params for snatchSelection() method.
* Changed mako to not send unneeded params. rowid is enough.
* Added check for getting the show_obj, chances are slim, but maybe a user leaves a snatchSelection window open, while deleting the show.
* Some pep8 changes.
* Added docstrings to webserve.py and search_queue.py methods.
@medariox
Copy link
Contributor

medariox commented Apr 1, 2016

Approved

Approved with PullApprove

@medariox medariox merged this pull request into pymedusa:multiep_manualsearch Apr 1, 2016
@p0psicles p0psicles deleted the multiep_manualsearch branch April 1, 2016 11:39
@fernandog fernandog changed the title Moved the creation of the searchResult to the searchQueue item. [Manual Search] Moved the creation of the searchResult to the searchQueue item. Apr 1, 2016
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.

None yet

2 participants