diff --git a/dwmbar b/dwmbar index d4761cd..52e90b1 100755 --- a/dwmbar +++ b/dwmbar @@ -99,7 +99,6 @@ async def weather(): CITY='Tyumen' while True: - print('w s') i = requests.get(f"https://wttr.in/{CITY}?format=%c").text.strip() #.encode('utf-8')[0:3].decode('utf-8') t = requests.get(f"https://wttr.in/{CITY}?format=%t").text.strip() w = requests.get(f"https://wttr.in/{CITY}?format=j2").json()['current_condition'][0]['windspeedKmph'].strip() @@ -108,7 +107,7 @@ async def weather(): weather = f"^b{COLOR2}^^c{COLOR1}^ {w} km/h ^b{COLOR1}^^c{COLOR2}^ {i} ^c{COLOR1}^^b{COLOR2}^ {t} ^d^" else: weather = f"[{w} km/h | {i} | {t}]" - print('w e') + await asyncio.sleep(60 * 30)