diff --git a/.gitignore b/.gitignore index 36b442e..c4d3fbc 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,5 @@ # python files *.pyc + +/.idea \ No newline at end of file diff --git a/python/publish_workbook.py b/python/publish_workbook.py index 300061b..75d533d 100644 --- a/python/publish_workbook.py +++ b/python/publish_workbook.py @@ -36,8 +36,8 @@ # The following packages are used to build a multi-part/mixed request. # They are contained in the 'requests' library -from requests.packages.urllib3.fields import RequestField -from requests.packages.urllib3.filepost import encode_multipart_formdata +from urllib3.fields import RequestField +from urllib3.filepost import encode_multipart_formdata # The namespace for the REST API is 'http://tableausoftware.com/api' for Tableau Server 9.0 # or 'http://tableau.com/api' for Tableau Server 9.1 or later