def _GetActivationURL(user, secret):
 return 'https://www.google.com/chart?chs=200x200&chld=M|0&cht=qr&chl=otpauth://totp/{0}@www.{1}%3Fsecret%3D{2}'.format(user, options.options.domain, secret)

def _GetActivationURL ( user , secret ) : return 'https://www.google.com/chart?chs=200x200&chld=M|0&cht=qr&chl=otpauth://totp/{0}@www.{1}%3Fsecret%3D{2}' . format ( user , options . options . domain , secret )
generates a url that displays a qr code on the browser for activating mobile devices with user secret .