Use logger.debug, not logging.log(logging.DEBUG
This commit is contained in:
parent
c3eb9b60c0
commit
ffe32ab7c7
@ -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):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user