Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

Commit b24239c

Browse files
committed
feat: add wind direction to output.
1 parent 870915a commit b24239c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/API Based Weather Report/API Based Weather Report.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def write_to_file(location, weather_data):
7272
# Writing wind direction information to the file
7373
if "wind" in weather_data and "deg" in weather_data["wind"]:
7474
f.write(
75-
"\tCurrent wind direction : " +
75+
"\tCurrent wind direction : " +
7676
wind_degree_to_direction(weather_data["wind"]["deg"]) + " \n")
7777

7878
# Printing confirmation message after writing to file

0 commit comments

Comments
 (0)