Moved templates inside of the package to enable setuptools distribution via package_data.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user