Module: check_mk
Branch: master
Commit: a6dd7c7f0a76f0e19770892bd601e6a5a5cf316c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a6dd7c7f0a76f0…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Mar 1 10:23:24 2016 +0100
Fix profiling once more: do not depend on subdirectory
---
web/htdocs/index.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/index.py b/web/htdocs/index.py
index 1cad319..61f7769 100644
--- a/web/htdocs/index.py
+++ b/web/htdocs/index.py
@@ -226,7 +226,7 @@ def init_profiling(is_profiling):
import cProfile
# Ubuntu: install python-profiler when using this feature
- profile_file = defaults.var_dir + "/profiling/multisite.profile"
+ profile_file = defaults.var_dir + "/multisite.profile"
p = cProfile.Profile()
p.runcall(handler, html.req, html.fields, True)