mirror of
https://github.com/aljazceru/chatgpt-telegram-bot.git
synced 2025-12-23 07:35:06 +01:00
Remove Unnecessary F-strings
This commit is contained in:
@@ -58,7 +58,7 @@ class WeatherPlugin(Plugin):
|
||||
]
|
||||
|
||||
async def execute(self, function_name, helper, **kwargs) -> Dict:
|
||||
url = f'https://api.open-meteo.com/v1/forecast' \
|
||||
url = 'https://api.open-meteo.com/v1/forecast' \
|
||||
f'?latitude={kwargs["latitude"]}' \
|
||||
f'&longitude={kwargs["longitude"]}' \
|
||||
f'&temperature_unit={kwargs["unit"]}'
|
||||
|
||||
Reference in New Issue
Block a user