Permalink
Browse files

changed ROOT to PATH

  • Loading branch information...
1 parent 6d370a5 commit 93111efd82b58e6843e10bb2c3a0e08a543644d9 @mlouro mlouro committed Mar 2, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 smatic/templatetags/smatic_tags.py
@@ -10,7 +10,7 @@ def scss(file_path):
"""
Converts an scss file into css and returns the output
"""
- input_path = safe_join(settings.SMATIC_SCSS_ROOT, file_path)
+ input_path = safe_join(settings.SMATIC_SCSS_PATH, file_path)
if not os.path.exists(input_path):
raise Exception('File does not exist: %s\n' % input_path)
@@ -27,11 +27,11 @@ def scss(file_path):
def js(file_path):
- input_path = safe_join(settings.SMATIC_JS_ROOT, file_path)
+ input_path = safe_join(settings.SMATIC_JS_PATH, file_path)
if not os.path.exists(input_path):
# TODO: check if enabled on
raise Exception('File does not exist: %s\n' % input_path)
return '<script type="text/javascript" src="%sjs/%s"></script>' % (settings.STATIC_URL, file_path)
-register.simple_tag(js)
+register.simple_tag(js)

0 comments on commit 93111ef

Please sign in to comment.