MCPcopy Create free account
hub / github.com/Image-Py/imagepy / para_check

Method para_check

imagepy/menus/Image/setscale_plg.py:20–24  ·  view source on GitHub ↗
(self, para, key)

Source from the content-addressed store, hash-verified

18
19class ScaleDialog(ParaDialog):
20 def para_check(self, para, key):
21 if key=='recent' and para[key] != 'Recent':
22 k, u = para[key].split(' - ')
23 para['k'], para['unit'] = float(k), u
24 self.reset()
25
26class Plugin(Simple):
27 title = 'Scale And Unit'

Callers

nothing calls this directly

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected