self._log -> self.log

This commit is contained in:
2017-01-18 12:50:50 +01:00
parent e39429272d
commit d5f285a381
2 changed files with 4 additions and 4 deletions

View File

@@ -850,13 +850,13 @@ class AuthenticatedPillarOperatorMixin(PillarOperatorMixin):
async def authenticate(self, context) -> bool:
from . import pillar
self._log.info('Checking credentials')
self.log.info('Checking credentials')
self.user_id = None
self.db_user = None
try:
self.db_user = await self.check_credentials(context, ())
except pillar.UserNotLoggedInError as ex:
self._log.info('Not logged in error raised: %s', ex)
self.log.info('Not logged in error raised: %s', ex)
self.report({'ERROR'}, 'Please log in on Blender ID first.')
self.quit()
return False