BigNoid / script.skinshortcuts

GNU General Public License v2.0
23 stars 69 forks source link

Comment out cProfile and add comments #194

Closed ghost closed 8 years ago

ghost commented 8 years ago

Currently cProfile is always imported, however it is only used if we're actually profiling performance which itself requires additional lines in default.py to be be uncommented. This PR comments out the import cProfile line and adds additional comments to highlight what needs uncommenting when profiling the script.

Fixes occasional issue on systems with incomplete Python default libraries.