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]