diff --git a/FuelSDK/client.py b/FuelSDK/client.py index 1ebbfb8..f1d34ee 100644 --- a/FuelSDK/client.py +++ b/FuelSDK/client.py @@ -361,10 +361,14 @@ def create_payload(self): def get_soap_cache_file(self): json_data = {} - if os.path.isfile(self.soap_cache_file): - file = open(self.soap_cache_file, "r") - json_data = json.load(file) - file.close() + + try: + if os.path.isfile(self.soap_cache_file): + file = open(self.soap_cache_file, "r") + json_data = json.load(file) + file.close() + except Exception: + return json_data return json_data diff --git a/README.md b/README.md index b4e61a0..38c3295 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # FuelSDK-Python v1.3.0 -Salesforce Marketing Cloud Fuel SDK for Python +Feverup's fork of Salesforce Marketing Cloud Fuel SDK for Python ## Overview diff --git a/setup.py b/setup.py index 8fd47cd..79c3d08 100644 --- a/setup.py +++ b/setup.py @@ -4,15 +4,15 @@ readme = f.read() setup( - version='1.3.0', - name='Salesforce-FuelSDK', - description='Salesforce Marketing Cloud Fuel SDK for Python', + version='1.3.1', + name='Fever-FuelSDK', + description='Fever Salesforce Marketing Cloud Fuel SDK for Python', long_description=readme, long_description_content_type="text/markdown", - author='ExactTarget', + author='Feverup', py_modules=['ET_Client'], packages=['FuelSDK'], - url='https://github.com/salesforce-marketingcloud/FuelSDK-Python', + url='https://github.com/Feverup/FuelSDK-Python', license='MIT', install_requires=[ 'pyjwt>=1.5.3', @@ -27,4 +27,4 @@ 'Topic :: Software Development :: Libraries', 'Programming Language :: Python :: 3.3', ], -) \ No newline at end of file +)