Skip to content

Commit

Permalink
chg: dev: remove unnecessary model check
Browse files Browse the repository at this point in the history
  • Loading branch information
rachmadaniHaryono committed Jul 5, 2018
1 parent 4e388d8 commit e88d2a9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gbooru_images_download/plugin/mode_a_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ def get_match_results(self, search_term, page, session=None):
assert_msg = 'Unknown scheme: {}'.format(scheme)
assert scheme in ('http', 'https'), assert_msg
resp_model = models.Response.create(search_term, 'get', session)
assert resp_model, 'Response failed: {}'.format(resp_model)
mr_dict = self.get_match_results_dict(
text=resp_model.text, session=session, url=search_term)
match_results = self.match_results_models_from_dict(mr_dict, session)
Expand Down

0 comments on commit e88d2a9

Please sign in to comment.