Still had issues with _rand
This commit is contained in:
+2
-2
@@ -564,9 +564,9 @@ class ColumbusConfigDefined(ColumbusEnv):
|
|||||||
else:
|
else:
|
||||||
v = v_raw
|
v = v_raw
|
||||||
if k.endswith('_rand'):
|
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):
|
if isinstance(v, int):
|
||||||
print('int!')
|
|
||||||
n = k.replace('_rand', '')
|
n = k.replace('_rand', '')
|
||||||
cur = getattr(
|
cur = getattr(
|
||||||
entity, n)
|
entity, n)
|
||||||
|
|||||||
Reference in New Issue
Block a user