# HG changeset patch # User Tero Marttila # Date 1244227833 -10800 # Node ID 0db16d6b36173f7be5eeaab7cd1299fcf93f46ba # Parent 53e798708413d9ff95181ad1e9c5f5de92af2ff6 update resources.py diff -r 53e798708413 -r 0db16d6b3617 degal/resources.py --- a/degal/resources.py Fri Jun 05 21:48:56 2009 +0300 +++ b/degal/resources.py Fri Jun 05 21:50:33 2009 +0300 @@ -2,9 +2,10 @@ Resource management """ +import filesystem + import pkg_resources -# path to package template files -TEMPLATE_DIR = pkg_resources.resource_filename('degal', 'templates') -STATIC_DIR = pkg_resources.resource_filename('degal', 'static') +# dir containing package resource files +STATIC_DIR = filesystem.Root(pkg_resources.resource_filename('degal', 'static'))