fix(examples) remove cast in MP scripts (#2354)

After https://github.com/lvgl/lv_binding_micropython/pull/161 merged, it is no longer needed to cast the result of 'e.get_target()'

Also, additional small fixes to allow CI improvements
This commit is contained in:
Amir Gonnen
2021-07-07 18:04:46 +03:00
committed by GitHub
parent 84c00862ae
commit c751c11a87
26 changed files with 30 additions and 30 deletions

View File

@@ -2,7 +2,7 @@ def event_handler(evt):
code = evt.get_code()
if code == lv.EVENT.VALUE_CHANGED:
source = lv.calendar.__cast__(evt.get_target())
source = evt.get_target()
date = lv.calendar_date_t()
lv.calendar.get_pressed_date(source,date)
if date: