fix default file_reponse_path

This commit is contained in:
stubbfel
2015-03-27 00:38:35 +01:00
parent 7cf755493c
commit 63f3957e0d

View File

@@ -16,7 +16,7 @@ class FakeWebServerManager:
cgi_path = request_handle_script_path
if cgi_path is None:
cgi_path = pkgutil.get_loader("service.webservice.file_content_response").path
cgi_path = pkgutil.get_loader("fake_services.service.webservice.file_content_response").path
newPath = os.path.basename(cgi_path)
if not os.path.exists(newPath):
shutil.copyfile(cgi_path, newPath)