Skip to content

Commit

Permalink
Remove try_int() as response returns int.
Browse files Browse the repository at this point in the history
  • Loading branch information
labrys committed May 24, 2016
1 parent 3cd264c commit 43b42f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sickbeard/providers/rarbg.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def search(self, search_strings, age=0, ep_obj=None): # pylint: disable=too-man
continue

error = data.get("error")
error_code = try_int(data.get("error_code"))
error_code = data.get("error_code")
# Don't log when {"error":"No results found","error_code":20}
# List of errors: https://github.com/rarbg/torrentapi/issues/1#issuecomment-114763312
if error:
Expand Down

0 comments on commit 43b42f6

Please sign in to comment.