Skip to content

Commit

Permalink
Delete print from static module
Browse files Browse the repository at this point in the history
  • Loading branch information
nskrypnik committed Aug 1, 2011
1 parent e98712a commit 054f169
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion controllers/static.py
Expand Up @@ -50,7 +50,6 @@ def index(request, path_info):
if not mime_type: raise Exception("unknown doc, or something like that :-P: %s" % ext )
static_file_path = os.path.join(STATIC_ROOT, path_info)
# Check if this path exists
print 'static_file_path:', static_file_path
if not os.path.exists(static_file_path):
error_msg = "<h1>Error 404</h1> No such file STATIC_ROOT/%s" % path_info
return Error404(error_msg)
Expand Down

0 comments on commit 054f169

Please sign in to comment.