Skip to content

Commit

Permalink
values from str to int,float
Browse files Browse the repository at this point in the history
  • Loading branch information
chauhannaman98 committed Nov 2, 2020
1 parent c9dc934 commit 367319e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/services/tv_shows/tvShowsTop250.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ def get_data():
# Store data to lists
show_ranks.append(i)
show_title.append(title.get_text())
year_of_release.append(year.strip('(').strip(')'))
year_of_release.append(int(year.strip('(').strip(')')))
show_url.append(url)
show_ratings.append(rating)
show_ratings.append(float(rating))
show_starcast.append(title['title'])

i += 1
Expand Down

0 comments on commit 367319e

Please sign in to comment.