Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion scripts/accept-tos.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import pprint
import time
import threading
import sys

def accept_tos(username, password):
api = PGoApi()
Expand All @@ -22,4 +23,4 @@ def accept_tos(username, password):
print('Accepted Terms of Service for {}'.format(username))
#print('Response dictionary: \r\n{}'.format(pprint.PrettyPrinter(indent=4).pformat(response)))

accept_tos('username', 'password')
accept_tos(sys.argv[1], sys.argv[2])