nathangiusti/PySense

Correction on PySenseDashboard.Dashboard.add_share function

Closed this issue · 2 comments

Line 138 of https://github.com/nathangiusti/PySense/blob/master/PySense/PySenseDashboard.py should be changed
from

if 'shareId' == curr_share['shareId']:

to

if share_id == curr_share['shareId']:

The current code is not able to remove duplicate share_id's in the shareTo field.

@bryan-dagasdas v1.0.4 is on pypi with the fixed code.

Cheers,

Nathan

Thanks! Good job on creating this library. It is a big help!