Skip to content

Commit

Permalink
removed sanity text from app collection
Browse files Browse the repository at this point in the history
  • Loading branch information
josephmancuso committed May 18, 2018
1 parent 08003d2 commit 0d60cbe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions masonite/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,7 @@ def collect(self, search):
provider_list.update({key: value})
elif '*' in search:
split_search = search.split('*')
print(split_search)
print('look for something that starts with ', split_search[0])
print('and ends with ', split_search[1])
if key.startswith(split_search[0]) and key.endswith(split_search[1]):
print('found a match for ', split_search[0], ' and ending with ', split_search[1])
provider_list.update({key: value})
else:
raise AttributeError("There is no '*' in your collection search")
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'masonite.contracts',
'masonite.helpers',
],
version='1.6.8',
version='1.6.9',
install_requires=[
'validator.py==1.2.5',
'cryptography==2.2.2',
Expand Down

0 comments on commit 0d60cbe

Please sign in to comment.