prints emoji for current status weather
This commit is contained in:
parent
dd6db6b935
commit
2249e5a2d1
@ -36,8 +36,9 @@ def get_weather(message):
|
||||
location = forecast.get_location().get_name()
|
||||
indicator = int(reg.get_reference_time(timeformat='iso')[11:13]) // 3
|
||||
|
||||
curr_stat = '{}{}{}{}{}'.format(' \n***Status in ', location, ':*** *',
|
||||
reg.get_detailed_status().title(), '*\n')
|
||||
curr_stat = '{}{}{}{}{}{}{}'.format(' \n***Status in ', location, ':*** *',
|
||||
reg.get_detailed_status().title(), '*',
|
||||
emojis.get(reg.get_detailed_status()), '\n')
|
||||
curr_temp = '{}{}{}'.format('**Current Temperature:** *',
|
||||
str(reg.get_temperature('fahrenheit').get('temp')),
|
||||
'F*\n\n__**3 day forecast:**__\n')
|
||||
|
Loading…
x
Reference in New Issue
Block a user