Skip to content

Commit

Permalink
Update device_id_auth_tropies example.
Browse files Browse the repository at this point in the history
  • Loading branch information
bboe committed Aug 6, 2016
1 parent 1b95142 commit aa3adb2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions examples/device_id_auth_trophies.py
Expand Up @@ -18,10 +18,8 @@ def main():

authenticator = prawcore.Authenticator(
prawcore.Requestor('prawcore_device_id_auth_example'),
os.environ['PRAWCORE_CLIENT_ID'],
os.environ['PRAWCORE_CLIENT_SECRET'])
authorizer = prawcore.DeviceIDAuthorizer(authenticator,
'DO_NOT_TRACK_THIS_DEVICE')
os.environ['PRAWCORE_CLIENT_ID'])
authorizer = prawcore.DeviceIDAuthorizer(authenticator)
authorizer.refresh()

user = sys.argv[1]
Expand Down

0 comments on commit aa3adb2

Please sign in to comment.