From 690239bb86c09ac58b1188c4c1e1bdb389864978 Mon Sep 17 00:00:00 2001 From: fram3d Date: Mon, 4 Mar 2024 11:32:37 +0100 Subject: [PATCH] fix typo in !vreme --- functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.py b/functions.py index b2f27d1..d571d55 100644 --- a/functions.py +++ b/functions.py @@ -33,7 +33,7 @@ def command(msg, rcpt): return content elif msg.startswith("!vreme") or msg.startswith("!prognoza") or msg.startswith("!weather"): commandsplit = msg.split(" ", 1) - if len(commandsplit) = 1: + if len(commandsplit) == 1: return sf.get_weather("Beograd") else: query = commandsplit[1]