File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 18
18
19
19
@dp .message_handler (commands = ['start' ])
20
20
async def process_start_command (message : types .Message ):
21
- greeting = f"Првиет, { message .from_user .first_name } !\n Как пододка ?"
21
+ greeting = f"Првиет, { message .from_user .first_name } !\n Как погодка ?"
22
22
await message .reply (greeting )
23
23
24
24
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ def get_api_url(lat, lon):
11
11
api_key_file = open ('/Users/narek/.pass/.openweather' )
12
12
api_key = api_key_file .read ().rstrip ('\n ' )
13
13
14
- api_path = "https://api.openweathermap.org/data/2.5/weather"
14
+ api_host = "https://api.openweathermap.org/data/2.5/weather"
15
15
api_params = f"units=metric&lat={ lat } &lon={ lon } &appid={ api_key } "
16
- api_url = f"{ api_path } ?{ api_params } "
16
+ api_url = f"{ api_host } ?{ api_params } "
17
17
18
18
return api_url
19
19
You can’t perform that action at this time.
0 commit comments