fix typo in !vreme
This commit is contained in:
parent
b416e04a9a
commit
690239bb86
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user