mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-08 12:36:11 +02:00
Done profiling for now
This commit is contained in:
parent
ac77f31bc2
commit
436370fe5b
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue