MCPcopy Create free account
hub / github.com/brain-workshop/brainworkshop / __init__

Method __init__

brainworkshop.py:2119–2126  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2117
2118class UserScreen(Menu):
2119 def __init__(self):
2120
2121 self.users = users = [_("New user"), 'Blank line'] + get_users()
2122 Menu.__init__(self, options=users,
2123 #actions=dict([(user, choose_user) for user in users]),
2124 title=_("Please select your user profile"),
2125 choose_once=True,
2126 default=users.index(USER))
2127
2128 def save(self):
2129 self.select() # Enter should choose a user too

Callers

nothing calls this directly

Calls 2

get_usersFunction · 0.85
__init__Method · 0.45

Tested by

no test coverage detected