Open yuk7hi opened 8 months ago
Following condition never evaluates to true it seems. https://github.com/blacktwin/JBOPS/blob/c30850673a62c1dd41fcb10279c2212354055133/utility/sync_watch_status.py#L529-L530
Updating it as follows fixes the issue for me.
if server.friendlyName == serverFrom: same_server = True
https://github.com/blacktwin/JBOPS/blob/master/utility/sync_watch_status.py
For a given userTo, if the value of serverTo is same as serverFrom then same_server should evaluate to true.
userTo
serverTo
serverFrom
same_server
Makes sense. Would you mind making a PR for this?
Describe the bug
Following condition never evaluates to true it seems. https://github.com/blacktwin/JBOPS/blob/c30850673a62c1dd41fcb10279c2212354055133/utility/sync_watch_status.py#L529-L530
Updating it as follows fixes the issue for me.
Link to script with bug/issue
https://github.com/blacktwin/JBOPS/blob/master/utility/sync_watch_status.py
Expected behavior
For a given
userTo
, if the value ofserverTo
is same asserverFrom
thensame_server
should evaluate to true.Desktop: