Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ant_landscape/stats.py')
-rw-r--r--ant_landscape/stats.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/ant_landscape/stats.py b/ant_landscape/stats.py
index c8793dd9..b217a7b0 100644
--- a/ant_landscape/stats.py
+++ b/ant_landscape/stats.py
@@ -5,15 +5,16 @@ from time import time
try:
import psutil
# print('psutil available')
- psutil_available=True
+ psutil_available = True
except ImportError:
- psutil_available=False
+ psutil_available = False
+
class Stats:
def __init__(self):
self.memstats_available = False
if psutil_available:
- self.process=psutil.Process()
+ self.process = psutil.Process()
self.memstats_available = True
self.reset()