i have this error
if self.api.timesync.server_datetime.second == 0:
File "/usr/local/lib/python2.7/dist-packages/iqoptionapi/ws/objects/timesync.py", line 37, in server_datetime
return datetime.datetime.fromtimestamp(self.server_timestamp)
File "/usr/local/lib/python2.7/dist-packages/iqoptionapi/ws/objects/timesync.py", line 24, in server_timestamp
return self.__server_timestamp / 1000
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'
i have this error if self.api.timesync.server_datetime.second == 0: File "/usr/local/lib/python2.7/dist-packages/iqoptionapi/ws/objects/timesync.py", line 37, in server_datetime return datetime.datetime.fromtimestamp(self.server_timestamp) File "/usr/local/lib/python2.7/dist-packages/iqoptionapi/ws/objects/timesync.py", line 24, in server_timestamp return self.__server_timestamp / 1000 TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'