Current time: 12-17-2017, 12:14 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug in wpt_batch_lib.py
01-31-2017, 03:36 AM (This post was last modified: 01-31-2017 03:45 AM by marty90.)
Post: #1
Bug in wpt_batch_lib.py
I found a bug in wpt_batch_lib.py.
To work, it should force the xml output with f=xml parameter.
Can be corrected changing line 70 from:

Code:
request = server_url + 'runtest.php?%s' % urllib.urlencode(test_params)

to:

Code:
request = server_url + 'runtest.php?&f=xml&%s' % urllib.urlencode(test_params)
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)