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

Method stripControlPassword

syncplay/client.py:1118–1122  ·  view source on GitHub ↗
(self, controlPassword)

Source from the content-addressed store, hash-verified

1116 self.ui.updateRoomName(roomName)
1117
1118 def stripControlPassword(self, controlPassword):
1119 if controlPassword:
1120 return re.sub(constants.CONTROL_PASSWORD_STRIP_REGEX, "", controlPassword).upper()
1121 else:
1122 return ""
1123
1124 def identifyAsController(self, controlPassword):
1125 controlPassword = self.stripControlPassword(controlPassword)

Callers 1

identifyAsControllerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected