Skip to content
Snippets Groups Projects
Commit 1fd66b82 authored by borzechof99's avatar borzechof99 :whale2:
Browse files

Remove unneeded Code

parent 9621e0ce
No related branches found
No related tags found
No related merge requests found
...@@ -321,11 +321,6 @@ class ScraperView(APIView): ...@@ -321,11 +321,6 @@ class ScraperView(APIView):
# Scrape Sports from their website # Scrape Sports from their website
scraped_sports = scraping() scraped_sports = scraping()
# Reformat scraped Sports so they have a name and an url field
new_sport_list = []
for sport_name, sport_url in scraped_sports.items():
new_sport_list.append({"name": sport_name, "url": sport_url})
# Iterate through DB Sport entries to see which ones are in the new Sport list etc # Iterate through DB Sport entries to see which ones are in the new Sport list etc
diff_list = [] diff_list = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment