Skip to content

Commit 8da318c

Browse files
committed
feat(use-example): code optimize
1 parent 7bcc3f4 commit 8da318c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def query_city_weather(self, city):
3939
st.markdown(f"{item['province'] + item['city']} is as follows:")
4040
for cast in item['casts']:
4141
st.markdown(
42-
f"**{cast['date']}** :`dayweather`:{cast['dayweather']}`nightweather`:{cast['nightweather']}, `daytemp`: {cast['daytemp']}, `nighttemp`:{cast['nighttemp']}")
42+
f"**{cast['date']}** :`dayweather`:{cast['dayweather']}, `nightweather`:{cast['nightweather']}, `daytemp`: {cast['daytemp']}, `nighttemp`:{cast['nighttemp']}")
4343

4444
@staticmethod
4545
def send_email(to_email, title, body):

0 commit comments

Comments
 (0)