forked from openlp/openlp
fix more tests
This commit is contained in:
parent
25de11dd42
commit
e6862f28e3
@ -138,7 +138,7 @@ class WSGIApplication(object):
|
|||||||
Add a static directory as a route
|
Add a static directory as a route
|
||||||
"""
|
"""
|
||||||
if route not in self.static_routes:
|
if route not in self.static_routes:
|
||||||
root = os.path.join(AppLocation.get_section_data_path('remotes'))
|
root = os.path.join(str(AppLocation.get_section_data_path('remotes')))
|
||||||
self.static_routes[route] = DirectoryApp(os.path.abspath(os.path.join(root, static_dir)))
|
self.static_routes[route] = DirectoryApp(os.path.abspath(os.path.join(root, static_dir)))
|
||||||
|
|
||||||
def dispatch(self, request):
|
def dispatch(self, request):
|
||||||
|
Loading…
Reference in New Issue
Block a user