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

Method update

brainworkshop.py:2757–2764  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2755 anchor_x='center', anchor_y='center', batch=batch)
2756 self.update()
2757 def update(self):
2758 if not mode.started and update_available:
2759 str_list = []
2760 str_list.append(_('An update is available ('))
2761 str_list.append(str(update_version))
2762 str_list.append(_('). Press W to open web site'))
2763 self.label.text = ''.join(str_list)
2764 else: self.label.text = ''
2765
2766# this is the black text above the field
2767class GameModeLabel:

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected