- for t, s in available_types.items():
- if not t in consumer_data:
- consumer_data[t] = axargs["value.%s.1" % s]
+ for t, s in available_types.items():
+ if not t in consumer_data:
+ if axargs.get("value.%s.1" % s, None):
+ consumer_data[t] = axargs["value.%s.1" % s]