Skip to content

Commit

Permalink
fixed app default settings
Browse files Browse the repository at this point in the history
  • Loading branch information
stanfeldman committed Dec 14, 2013
1 parent 1964d63 commit cdbe581
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions kiss/core/application.py
Expand Up @@ -53,6 +53,7 @@ def init_options(self, options):
"templates_path": [],
"templates_extensions": ["compressinja.html.HtmlCompressor", "jinja2.ext.i18n"],
"static_path": [],
"static_not_compile": [],
'session_type': "cookie",
"session_auto": True,
'session_cookie_expires': True,
Expand Down
2 changes: 0 additions & 2 deletions kiss/views/static.py
Expand Up @@ -6,7 +6,6 @@
from jsmin import jsmin
import os
import shutil
import traceback


class StaticCompiler(object):
Expand All @@ -20,7 +19,6 @@ def __init__(self, path):
def compile_file(self, filepath, need_compilation=True):
result = self.get_content(filepath)
if need_compilation:
print "compiling ", filepath
mimetype = mimetypes.guess_type(filepath)[0]
result = self.compile_text(result, mimetype)
return result
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -6,7 +6,7 @@

setup(
name = "kiss.py",
version = "0.4.14",
version = "0.4.15",
author = "Stanislav Feldman",
description = ("MVC web framework in Python with Gevent, Jinja2, Werkzeug"),
url = "http://stanislavfeldman.github.com/kiss.py/",
Expand Down

0 comments on commit cdbe581

Please sign in to comment.