From 075001a2d5e9b35abac3da3f46f29e33346a7330 Mon Sep 17 00:00:00 2001 From: Thomas Lindner Date: Fri, 30 Dec 2022 16:01:52 +0100 Subject: [PATCH] fix profiling --- src/blunderboard/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blunderboard/__init__.py b/src/blunderboard/__init__.py index 77642b5..908baac 100644 --- a/src/blunderboard/__init__.py +++ b/src/blunderboard/__init__.py @@ -17,4 +17,4 @@ def main_content(): def main(): - cProfile.run("main_content()") + cProfile.runctx("main_content()", globals(), locals(), filename=__file__)