fix typo in !vreme

This commit is contained in:
2024-03-04 11:32:37 +01:00
parent b416e04a9a
commit 690239bb86

View File

@@ -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]