Disable stopwatch in test (was failing due to import error) and fix bad requests version setting

This commit is contained in:
blitzmann
2017-05-08 21:39:39 -04:00
parent 3de63c5ca5
commit ccfd414cb3
2 changed files with 6 additions and 6 deletions

View File

@@ -358,7 +358,7 @@ if __name__ == "__main__":
if 'wxMac' not in wx.PlatformInfo or ('wxMac' in wx.PlatformInfo and wx.VERSION >= (3, 0)):
try:
import requests
config.requestsVersion = requests.__version
config.requestsVersion = requests.__version__
except ImportError:
raise PreCheckException("Cannot import requests. You can download requests from https://pypi.python.org/pypi/requests.")