Skip to content

Commit

Permalink
Updates: vatsa287#14
Browse files Browse the repository at this point in the history
  • Loading branch information
PranavRPrasad authored Oct 7, 2021
1 parent 1354e22 commit 56194c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli_weather/airquality_forecast_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ def timestamp_to_strftime(timestamp):
date = date_object.strftime("%d %B, %Y")
return(date)

"""
Calculate aqi category from given aqi
"""
def calculate_aqi_category(aqi):
if aqi <= 50:
return "GOOD"
Expand Down

0 comments on commit 56194c8

Please sign in to comment.