Skip to content

Commit

Permalink
Merge pull request #3 from theckman/updated-chart-url
Browse files Browse the repository at this point in the history
new chart URL
  • Loading branch information
akerl committed Jan 4, 2013
2 parents 3b2c27d + 46c1403 commit f0beb6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def feedback(message = None, validate = None, default = None, inputMsg = '? [{0}
myConf['scratch'] = []
for x in range(0,doScratch):
myConf['scratch'].append(str(base64.b32encode(os.urandom(6))[0:10], 'ascii'))
myConf['url'] = "https://www.google.com/chart?chs=200x200&chld=M|0&cht=qr&chl=otpauth://totp/{0}@{1}%3Fsecret%3D{2}".format(os.environ['USER'], os.uname()[1], myConf['secret'])
myConf['url'] = "https://chart.googleapis.com/chart?chs=200x200&cht=qr&chl=otpauth://totp/{0}@{1}%3Fsecret%3D{2}".format(os.environ['USER'], os.uname()[1], myConf['secret'])

if myFile is not None:
if not os.path.exists(os.path.expanduser(myFile)):
Expand Down

0 comments on commit f0beb6a

Please sign in to comment.