this repo has no description

feeds: record createdAt may not exist

Changed files
+1 -1
feeds
+1 -1
feeds/battle.py
···
path = op['path']
post_uri = f'at://{repo}/{path}'
length = grapheme.length(record.get('text', ''))
-
ts = self.safe_timestamp(record['createdAt']).timestamp()
self.transaction_begin(self.db_cnx)
···
path = op['path']
post_uri = f'at://{repo}/{path}'
length = grapheme.length(record.get('text', ''))
+
ts = self.safe_timestamp(record.get('createdAt', '')).timestamp()
self.transaction_begin(self.db_cnx)