Mercurial > code > home > repos > href
diff link.py @ 38:f3a15a724483
mongo api and up-checking
author | drewp@bigasterisk.com |
---|---|
date | Sat, 19 Nov 2022 17:05:15 -0800 |
parents | e86642cf7393 |
children | 293a694304b8 |
line wrap: on
line diff
--- a/link.py Sat Nov 19 17:03:17 2022 -0800 +++ b/link.py Sat Nov 19 17:05:15 2022 -0800 @@ -17,7 +17,7 @@ if not doc['href']: raise ValueError("no link") self.extract(doc) - self.coll.update({'href': doc['href']}, doc, upsert=True, safe=True) + self.coll.update({'href': doc['href']}, doc, upsert=True) def extract(self, doc): forUsers = []