this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feeds: record text may not exist

+2 -2
+1 -1
feeds/battle.py
··· 43 43 repo = commit['repo'] 44 44 path = op['path'] 45 45 post_uri = f'at://{repo}/{path}' 46 - length = grapheme.length(record['text']) 46 + length = grapheme.length(record.get('text', '')) 47 47 ts = self.safe_timestamp(record['createdAt']).timestamp() 48 48 49 49 self.transaction_begin(self.db_cnx)
+1 -1
feeds/rapidfire.py
··· 38 38 return 39 39 40 40 if all([ 41 - grapheme.length(record['text']) <= MAX_TEXT_LENGTH, 41 + grapheme.length(record.get('text', '')) <= MAX_TEXT_LENGTH, 42 42 record.get('reply') is None, 43 43 record.get('embed') is None, 44 44 record.get('facets') is None