Skip to content

Commit

Permalink
fixed flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
josephmancuso committed May 18, 2019
1 parent 63fb655 commit 9451655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion masonite/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ def contains(self, route, show=None):
if show is not None:
if re.match(compile_route_to_regex(route), self.path):
return show

return ''

return re.match(compile_route_to_regex(route), self.path)
Expand Down

0 comments on commit 9451655

Please sign in to comment.