Fix error starting import_ifc profiling (in 515bfd1)

This commit is contained in:
Andrej730
2025-07-15 11:50:11 +05:00
parent c95a0e8ed5
commit 742a9df311
@@ -239,7 +239,7 @@ class ProfileImportIFC(bpy.types.Operator):
import cProfile
import pstats
profile_file = Path(profile_filename)
profile_file = Path(self.profile_filename)
cProfile.run("import bpy; bpy.ops.bim.load_project_elements()", str(profile_file))
p = pstats.Stats(str(profile_file))
p.sort_stats("cumulative").print_stats(50)