Skip to content

Commit d75297b

Browse files
update to 22.9
1 parent b5dfae4 commit d75297b

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ XLS, XLSX, PPTX, DOC, DOCX, MobiXML, JPEG, EMF, PNG, BMP, GIF, TIFF, Text
3030
## Read PDF Formats
3131
MHT, PCL, PS, XSLFO, MD
3232

33-
## Enhancements in Version 22.8
33+
## Enhancements in Version 22.9
3434
- A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.
3535

3636
## Requirements.

asposepdfcloud/api_client.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def __init__(self, app_key, app_sid, host=None):
8383
self.rest_client = RESTClientObject()
8484
self.default_headers = {}
8585
self.default_headers['x-aspose-client'] = 'python sdk'
86-
self.default_headers['x-aspose-client-version'] = '22.8.0'
86+
self.default_headers['x-aspose-client-version'] = '22.9.0'
8787

8888
self.app_key = app_key
8989
self.app_sid = app_sid
@@ -245,10 +245,12 @@ def __request_token(self):
245245
resource_path = "/connect/token"
246246

247247
# request url
248-
url = self.host.replace("/v3.0", "") + resource_path
248+
print("host: " + self.host)
249+
tokenUrl = self.host.replace("/v3.0", "") + resource_path
250+
print("tokenUrl: " + tokenUrl)
249251

250252
# perform request and return response
251-
response_data = self.request(method, url,
253+
response_data = self.request(method, tokenUrl,
252254
headers=header_params,
253255
post_params=post_params)
254256

asposepdfcloud/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,5 +199,5 @@ def to_debug_report(self):
199199
"OS: {env}\n"\
200200
"Python Version: {pyversion}\n"\
201201
"Version of the API: 3.0\n"\
202-
"SDK Package Version: 22.8.0".\
202+
"SDK Package Version: 22.9.0".\
203203
format(env=sys.platform, pyversion=sys.version)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
from setuptools import setup, find_packages
3333

3434
NAME = "asposepdfcloud"
35-
VERSION = "22.8.0"
35+
VERSION = "22.9.0"
3636
# To install the library, run the following
3737
#
3838
# python setup.py install

0 commit comments

Comments
 (0)