SamSwift commited on
Commit
6e7c707
·
1 Parent(s): acf1aea

Update script.py

Browse files
Files changed (1) hide show
  1. script.py +1 -1
script.py CHANGED
@@ -32,7 +32,7 @@ def activate_english(command):
32
 
33
  def activate_yoruba(command):
34
  try:
35
- if ('tan' in command and 'pá lọ̀' in command.split()) or ('tọ' in command and 'pa lọ̀' in command.split()) or ('tán' in command and 'pá lọ' in command.split()) or ('tọ́' in command and 'pá lọ' in command.split()):
36
  requests.get('https://blynk.cloud/external/api/update?token=G8ynpU1qu1pivhBZuJwaI542ijnLAOsv&v0=0')
37
  return "Ok!, I'm turning on the parlor light"
38
 
 
32
 
33
  def activate_yoruba(command):
34
  try:
35
+ if ('tan' in command and 'pá lọ̀' in command.split()) or ('tọ' in command and 'pa lọ̀' in command.split()) or ('tan' in command) or ('tọ́' in command and 'pá lọ' in command.split()):
36
  requests.get('https://blynk.cloud/external/api/update?token=G8ynpU1qu1pivhBZuJwaI542ijnLAOsv&v0=0')
37
  return "Ok!, I'm turning on the parlor light"
38