Yes I know what it is for, but why is he trying to delete a section marker that does not exist (hence the crash). Should be searching for that marker dynamically.
I changed the numbers to suit where the not-indexed channel section is...

How should my delete section look?
# Delete Not-Indexed sections
del sections[]
for number in customised["video"].keys():
if number > :
del customised["video"][number]
thanks