def build_qrcode(self, user, url):
    'Internal method used to build the QRCode image for token provisioning.'
    prefix = self.DATA_DIR
    qrcode.make(url).save('{0}{1}-qrcode.png'.format(prefix, user), format='png')
Internal method used to build the QRCode image for token provisioning.
def build_qrcode(self, user, url):
    
    prefix = self.DATA_DIR
    qrcode.make(url).save('{0}{1}-qrcode.png'.format(prefix, user), format='png')