Still had issues with _rand
This commit is contained in:
parent
e0f4aa3c13
commit
db6cdeed21
@ -564,9 +564,9 @@ class ColumbusConfigDefined(ColumbusEnv):
|
||||
else:
|
||||
v = v_raw
|
||||
if k.endswith('_rand'):
|
||||
print('_rand!')
|
||||
v = self.conv_unit(
|
||||
v_raw, target='px', axis='y' if k == 'height_rand' else 'x')
|
||||
if isinstance(v, int):
|
||||
print('int!')
|
||||
n = k.replace('_rand', '')
|
||||
cur = getattr(
|
||||
entity, n)
|
||||
|
Loading…
Reference in New Issue
Block a user