Explorar el Código

Remove dead code

jherve hace 1 año
padre
commit
cc25562f80
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      src/de_quoi_parle_le_monde/storage.py

+ 0 - 1
src/de_quoi_parle_le_monde/storage.py

@@ -443,7 +443,6 @@ class Storage:
         async with self.conn as conn:
             sites = await conn.execute_fetchall("SELECT * FROM sites")
             return [self._from_row(s, self._table_by_name["sites"]) for s in sites]
-            return [{"id": s[0], "original_url": s[1], "name": s[2]} for s in sites]
 
     async def list_neighbouring_main_articles(
         self,