Use logger.debug, not logging.log(logging.DEBUG

This commit is contained in:
Tom Parker 2016-06-13 22:03:51 +01:00
parent c3eb9b60c0
commit ffe32ab7c7

View File

@ -49,8 +49,7 @@ gstreamer-GstTagList.html
value.get_year(), value.get_month(), value.get_day())
result[tag].append(date.isoformat().decode('utf-8'))
except ValueError:
logger.log(
logging.DEBUG,
logger.debug(
'Ignoring dodgy date value: %d-%d-%d',
value.get_year(), value.get_month(), value.get_day())
elif isinstance(value, Gst.DateTime):