Fix get_date_format

This commit is contained in:
Cédric Leporcq 2021-08-24 17:28:11 +02:00
parent 016329e044
commit 0fea0fcfd4
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ class Media():
value = re.sub(regex , r'\g<1>-\g<2>-\g<3>', value) value = re.sub(regex , r'\g<1>-\g<2>-\g<3>', value)
return parse(value) return parse(value)
except BaseException or dateutil.parser._parser.ParserError as e: except BaseException or dateutil.parser._parser.ParserError as e:
self.logger.error(e) self.logger.error(e, value)
return None return None
def get_coordinates(self, key, value): def get_coordinates(self, key, value):