Skip to content

Commit d8c0fd6

Browse files
authored
1 parent 335fd5b commit d8c0fd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

patterns/structural/front_controller.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def dispatch(self, request):
2727
elif request.type == Request.tablet_type:
2828
self.tablet_view.show_index_page()
2929
else:
30-
print("cant dispatch the request")
30+
print("Cannot dispatch the request")
3131

3232

3333
class RequestController:
@@ -69,7 +69,7 @@ def main():
6969
Displaying tablet index page
7070
7171
>>> front_controller.dispatch_request(Request('desktop'))
72-
cant dispatch the request
72+
Cannot dispatch the request
7373
7474
>>> front_controller.dispatch_request('mobile')
7575
request must be a Request object

0 commit comments

Comments
 (0)