ddetommaso / TobiiGlassesPyController

Tobii Pro Glasses 2 Python controller
GNU General Public License v3.0
56 stars 28 forks source link

Differences between git and pip version #11

Closed dariopasquali closed 4 years ago

dariopasquali commented 4 years ago

Hi Davide, I report you that there is a difference between git and pip version in tobiiglassesctrl/controller.py

In GIT version, the method create-project requires the value self.participant_name instead of the param projectname. This makes impossible to create the project because in order to assign self.participant_name you need to call create_participant that requires project_id (returned by create_project).

In PIP (version 2.2.4) instead the function is correct. it uses the param projectname.

https://github.com/ddetommaso/TobiiGlassesPyController/blob/df48f0c0a8315c1422dd1cca1122f83d931cf80f/tobiiglassesctrl/controller.py#L319

Cheers, Dario