Skip to content

Commit

Permalink
Merge pull request #8 from djaychela/patch-1
Browse files Browse the repository at this point in the history
Update _02_noneness.py
  • Loading branch information
mikeckennedy authored Jan 16, 2018
2 parents 0a4c1ac + 17cbbd3 commit 2de48d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/ch_02_foundations/_02_noneness.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
def find_accounts(search_text):
# perform search...
if not db_is_availble:
if not db_is_available:
return None

# returns a list of account IDs
Expand Down Expand Up @@ -37,4 +37,4 @@ def find_accounts(search_text):
def db_search(search_text):
return [1, 11]

db_is_availble = True
db_is_availble = True

0 comments on commit 2de48d6

Please sign in to comment.