Skip to content

Commit 98d25e6

Browse files
author
Santiago Loureiro
committed
Agregar parametro opcional al contructor de la clase client
1 parent 7bb7e1e commit 98d25e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def read(fname):
77

88

99
setup(name='zohocrm-python',
10-
version='0.1.3',
10+
version='0.1.4',
1111
description='API wrapper for ZohoCRM written in Python',
1212
long_description=read('README.md'),
1313
url='https://github.com/GearPlug/zohocrm-python',

zohocrm/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
class Client(object):
2222

23-
def __init__(self, client_id, client_secret, redirect_uri, scope, access_type, refresh_token):
23+
def __init__(self, client_id, client_secret, redirect_uri, scope, access_type, refresh_token=None):
2424
self.code = None
2525
self.scope = scope
2626
self.access_type = access_type

0 commit comments

Comments
 (0)