From 436370fe5b49cf7add91d8872588b7deccf7100f Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Sun, 19 Apr 2026 09:03:10 -0500 Subject: [PATCH] Done profiling for now --- fanficfare/fff_profile.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fanficfare/fff_profile.py b/fanficfare/fff_profile.py index de2a7cd1..a4ba8345 100644 --- a/fanficfare/fff_profile.py +++ b/fanficfare/fff_profile.py @@ -13,9 +13,10 @@ # limitations under the License. # -## not compatibly with py2 SortKey not available. +## not compatibly with py2, SortKey not available. import sys -if sys.version_info >= (2, 9): +DO_PROFILING = False +if DO_PROFILING and sys.version_info >= (3, 7): from io import StringIO import cProfile, pstats from pstats import SortKey