MCPcopy Create free account
hub / github.com/Syncplay/syncplay / canControl

Method canControl

syncplay/client.py:1609–1616  ·  view source on GitHub ↗
(self, username)

Source from the content-addressed store, hash-verified

1607 return False
1608
1609 def canControl(self, username):
1610 if self.currentUser.username == username and self.currentUser.canControl():
1611 return True
1612
1613 for user in self._users.values():
1614 if user.username == username and user.canControl():
1615 return True
1616 return False
1617
1618 def isReadyWithFile(self, username):
1619 if self.currentUser.username == username:

Callers 1

Calls 1

canControlMethod · 0.45

Tested by

no test coverage detected