No, it would be None, not a Dict. Read the code like this:So the change is (effectively) that tn will be None if feinfo.getFrontendData() is empty (or, actually, {}).
Code:
# Empty Dict
{}.get("tuner_number") # returns None
# Populated Dict
{"tuner_number": 1}.get("tuner_number") # returns 1
Last edited:
