Skip to content

Commit 0c4e388

Browse files
adamsandwichgunthercox
authored andcommitted
Fix typo
1 parent 0666bb5 commit 0c4e388

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/logic/create-a-logic-adapter.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ but statements such as "Do you know what time it is?" will not be processed.
7474
.. code-block:: python
7575
7676
def can_process(self, statement):
77-
if statement.text.startswith('Hey Mike')
77+
if statement.text.startswith('Hey Mike'):
7878
return True
7979
else:
8080
return False
@@ -94,7 +94,7 @@ For this example we will use a fictitious API endpoint that returns the current
9494
'what' and 'is' and 'temperature'.
9595
"""
9696
words = ['what', 'is', 'temperature']
97-
if all(x in statement.text.split() for x in words)
97+
if all(x in statement.text.split() for x in words):
9898
return True
9999
else:
100100
return False

0 commit comments

Comments
 (0)