Permalink
Browse files

nitpick

  • Loading branch information...
1 parent 802dead commit 1d121c4167d6c1004773011fa68cd5d91bd4fb00 @digi604 digi604 committed Oct 3, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 cms/appresolver.py
View
@@ -32,8 +32,8 @@ def applications_page_check(request, current_page=None, path=None):
path = request.path.replace(reverse('pages-root'), '', 1)
# check if application resolver can resolve this
for lang in get_language_list():
- if path.startswith(lang+"/"):
- path = path[len(lang+"/"):]
+ if path.startswith(lang + "/"):
+ path = path[len(lang + "/"):]
for resolver in APP_RESOLVERS:
try:
page_id = resolver.resolve_page_id(path)

0 comments on commit 1d121c4

Please sign in to comment.