fix typo in !vreme

This commit is contained in:
fram3d 2024-03-04 11:32:37 +01:00
parent b416e04a9a
commit 690239bb86
Signed by: fram3d
GPG Key ID: 938920E709EEA32A

View File

@ -33,7 +33,7 @@ def command(msg, rcpt):
return content return content
elif msg.startswith("!vreme") or msg.startswith("!prognoza") or msg.startswith("!weather"): elif msg.startswith("!vreme") or msg.startswith("!prognoza") or msg.startswith("!weather"):
commandsplit = msg.split(" ", 1) commandsplit = msg.split(" ", 1)
if len(commandsplit) = 1: if len(commandsplit) == 1:
return sf.get_weather("Beograd") return sf.get_weather("Beograd")
else: else:
query = commandsplit[1] query = commandsplit[1]