commit | 993c74bc64ae8ddaca664c653861e5af7c789ca7 | [log] [tgz] |
---|---|---|
author | gstepanov <gstepanov@mirantis.com> | Thu Feb 05 15:20:38 2015 +0200 |
committer | gstepanov <gstepanov@mirantis.com> | Thu Feb 05 15:20:38 2015 +0200 |
tree | d2b20ddebc7c9b98292c158c2c421faa9f46e9de | |
parent | 2164d824c2391e51b8d2b013efce4093e4cd327e [diff] [blame] |
hardcoded path removed
diff --git a/web_app/__init__.py b/web_app/__init__.py index 45e6180..02aaebe 100644 --- a/web_app/__init__.py +++ b/web_app/__init__.py
@@ -76,7 +76,7 @@ tests = json.loads(request.data) if not hasattr(g, "storage"): - g.storage = create_storage("file:///home/gstepanov/rally-results-processor/test_results/sample.json", "", "") + g.storage = create_storage("file://" + os.path.dirname(__file__) + "/test_results/sample.json", "", "") for test in tests: g.storage.store(test)