Skip to content

Commit

Permalink
clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
MuslemRahimi committed Feb 1, 2025
1 parent a9d06f2 commit e00bf95
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/restart_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

load_dotenv()
api_key = os.getenv('FMP_API_KEY')
benzinga_api_key = os.getenv('benzinga_api_key')
BENZINGA_API_KEY = os.getenv('BENZINGA_API_KEY')

berlin_tz = pytz.timezone('Europe/Berlin')

Expand Down Expand Up @@ -1051,7 +1051,6 @@ def remove_duplicates(elements):
unique_elements.append(element)
return unique_elements

BENZINGA_API_KEY = os.getenv('BENZINGA_API_KEY')
headers = {"accept": "application/json"}
url = "https://api.benzinga.com/api/v2.1/calendar/earnings"
importance_list = ["0", "1", "2", "3", "4", "5"]
Expand Down

0 comments on commit e00bf95

Please sign in to comment.