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
1 changed files with 1 additions and 1 deletions

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]