mirror of https://github.com/arendst/Tasmota.git
Merge pull request #15937 from s-hadinger/berry_fix_setglobal_false
Berry fix regression
This commit is contained in:
commit
61734674c5
|
@ -72,7 +72,6 @@ static int m_setglobal(bvm *vm)
|
|||
if (top >= 2 && be_isstring(vm, 1)) {
|
||||
const char * name = be_tostring(vm, 1);
|
||||
be_setglobal(vm, name);
|
||||
be_return(vm);
|
||||
}
|
||||
be_return_nil(vm);
|
||||
}
|
||||
|
|
|
@ -31,8 +31,8 @@ const char berry_prog[] =
|
|||
#ifdef USE_BERRY_PYTHON_COMPAT
|
||||
// enable python syntax compatibility mode
|
||||
"import python_compat "
|
||||
"import cb "
|
||||
#endif
|
||||
"import cb "
|
||||
|
||||
#ifdef USE_ENERGY_SENSOR
|
||||
"import energy "
|
||||
|
|
Loading…
Reference in New Issue