Skip to content

Commit

Permalink
facebook: fix get_with_rate_limiter
Browse files Browse the repository at this point in the history
rate_per_minute arg was not properly handeled
  • Loading branch information
naisanzaa committed Oct 23, 2024
1 parent 5cdee01 commit 961531e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion automon/integrations/facebook/groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ def browser_not_supported(self):
except Exception as error:
logger.error(error)


def close_login_popup(self):
try:
button = self._browser.find_anything(
Expand Down Expand Up @@ -437,6 +436,9 @@ def get_with_rate_limiter(
if wait_between_retries:
self.WAIT_BETWEEN_RETRIES = wait_between_retries

if rate_per_minute:
self.RATE_PER_MINUTE = rate_per_minute

result = None
while retry < retries:

Expand Down

0 comments on commit 961531e

Please sign in to comment.