Skip to content

Commit

Permalink
remove the retry
Browse files Browse the repository at this point in the history
  • Loading branch information
shayki5 authored Apr 17, 2024
1 parent 756de2f commit 669a2ff
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ def get_data_from_sheets_on_start():
print(corresponding_value_e)
except gspread.exceptions.APIError as e:
print(f"Encountered APIError: {e}")
print("Retrying after a delay...")
time.sleep(30) # Wait for 30 seconds before retrying
corresponding_value_e = sheet.cell(index, 5).value
if corresponding_value_e == "not found":
states['not_found_values'].append(value)
if states['not_found_values']:
Expand Down

0 comments on commit 669a2ff

Please sign in to comment.