From e6862f28e37b0aa13bceac492a2387f4ea5b4e6c Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Sat, 12 Aug 2017 21:26:39 +0100 Subject: [PATCH] fix more tests --- openlp/core/api/http/wsgiapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/core/api/http/wsgiapp.py b/openlp/core/api/http/wsgiapp.py index d7f6ef1c8..c852d5dc4 100644 --- a/openlp/core/api/http/wsgiapp.py +++ b/openlp/core/api/http/wsgiapp.py @@ -138,7 +138,7 @@ class WSGIApplication(object): Add a static directory as a route """ 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))) def dispatch(self, request):