Spaces:
Runtime error
Runtime error
Update script.py
Browse files
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 ('
|
| 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 |
|