fix(profile): accept any valid location for pyprof2calltree

pull/901/head
anthraxx 5 years ago committed by Disconnect3d
parent 87bf6ac0f9
commit fbfd47f770

@ -15,4 +15,7 @@ import pstats
p = pstats.Stats('stats')
p.strip_dirs().sort_stats('tottime').print_stats(20)
"
[ -x /usr/local/bin/pyprof2calltree ] && command -v kcachegrind >/dev/null 2>&1 && /usr/local/bin/pyprof2calltree -k -i stats
if command -v pyprof2calltree >/dev/null 2>&1 && command -v kcachegrind >/dev/null 2>&1; then
pyprof2calltree -k -i stats
fi

Loading…
Cancel
Save