remove check for dupes
This commit is contained in:
parent
642b57c5b5
commit
c4e7e0e90c
1 changed files with 2 additions and 5 deletions
|
@ -110,11 +110,8 @@ class MastodonEmailBridge:
|
||||||
res = cur.execute("SELECT id FROM sent_items")
|
res = cur.execute("SELECT id FROM sent_items")
|
||||||
rows = res.fetchall()
|
rows = res.fetchall()
|
||||||
for row in rows:
|
for row in rows:
|
||||||
self._log.debug(
|
# if row[0] in self.sent_items:
|
||||||
row[1]
|
# self._log.warning("Duplicate id in database '%s'", row[0])
|
||||||
)
|
|
||||||
if row[0] in self.sent_items:
|
|
||||||
self._log.warning("Duplicate id in database '%s'", row[0])
|
|
||||||
# else:
|
# else:
|
||||||
# self._log.debug("Found sent item with id '%s' (%s)", row[0], type(row[0]))
|
# self._log.debug("Found sent item with id '%s' (%s)", row[0], type(row[0]))
|
||||||
self.sent_items.append(row[0])
|
self.sent_items.append(row[0])
|
||||||
|
|
Loading…
Reference in a new issue