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 'rigify/utils.py')
-rw-r--r--rigify/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rigify/utils.py b/rigify/utils.py
index 33170ec2..84d4c4f1 100644
--- a/rigify/utils.py
+++ b/rigify/utils.py
@@ -17,7 +17,7 @@
#======================= END GPL LICENSE BLOCK ========================
import bpy
-from imp import reload
+import imp
from random import randint
from mathutils import Vector
from math import ceil, floor
@@ -355,7 +355,7 @@ def get_rig_type(rig_type):
"""
#print("%s.%s.%s" % (__package__,RIG_DIR,rig_type))
submod = __import__(name="%s.%s.%s" % (MODULE_NAME, RIG_DIR, rig_type), fromlist=[rig_type])
- reload(submod)
+ imp.reload(submod)
return submod