Added missing logger

This commit is contained in:
Sybren A. Stüvel 2016-07-14 11:47:50 +02:00
parent acd62b4917
commit ecb8f8575f

View File

@ -230,6 +230,8 @@ class PillarCredentialsUpdate(pillar.PillarOperatorMixin,
bl_idname = 'pillar.credentials_update'
bl_label = 'Update credentials'
log = logging.getLogger('bpy.ops.%s' % bl_idname)
@classmethod
def poll(cls, context):
# Only allow activation when the user is actually logged in.