Moved templates inside of the package to enable setuptools distribution via package_data.

This commit is contained in:
Michael Lazar
2015-10-15 01:44:33 -07:00
parent aa2f810069
commit 77a6c71119
6 changed files with 5 additions and 5 deletions

View File

@@ -44,7 +44,7 @@ class OAuthTool(object):
# Initialize Tornado webapp
routes = [('/', AuthHandler)]
self.callback_app = web.Application(routes, template_path='templates')
self.callback_app = web.Application(routes, template_path='rtv/templates')
self.reddit.set_oauth_app_info(config.oauth_client_id,
config.oauth_client_secret,