flattrade / pythonAPI

15 stars 11 forks source link

'bool' object has no attribute 'get_quotes' #6

Closed selvaks030 closed 10 months ago

selvaks030 commented 10 months ago

Am getting the below error last 2 days. My code was running smoothly till last week

'bool' object has no attribute 'get_quotes'

selvaks030 commented 10 months ago

It worked by just changing the variable name old code: api = api.set_session(userid= user_id, password = user_password, usertoken= user_token)

new code: ret = api.set_session(userid= user_id, password = user_password, usertoken= user_token)