Skip to content

Commit

Permalink
use request.json() instead of json.loads()
Browse files Browse the repository at this point in the history
  • Loading branch information
tttturtle-russ committed Aug 17, 2024
1 parent 4b385c3 commit 328b9cf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions linux-statistic.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@


print("Getting university list...")
university_json = requests.get(
university_list:list = requests.get(
"https://github.com/Hipo/university-domains-list/raw/master/world_universities_and_domains.json"
).text
university_list: list = json.loads(university_json)
).json()


print("Getting commits list...")
Expand Down

0 comments on commit 328b9cf

Please sign in to comment.