Skip to content

Commit

Permalink
Fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandog committed Mar 3, 2016
1 parent cccdb25 commit de82d77
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 @@ -128,7 +128,7 @@ def search(self, search_strings, age=0, ep_obj=None): # pylint: disable=too-man
continue

# Maximum requests allowed are 1req/2sec
time.sleep(max(2, cpu_presets[CPU_PRESET]))
time.sleep(max(2, cpu_presets[sickbeard.CPU_PRESET]))

data = self.get_url(self.urls["api"], params=search_params, returns="json")
if not isinstance(data, dict):
Expand Down

0 comments on commit de82d77

Please sign in to comment.