feeds database lookup via links column
This commit is contained in:
pare
c9219f1a85
commit
6f0c2a7678
S'han modificat 1 arxius amb 1 adicions i 1 eliminacions
|
@ -84,7 +84,7 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
cur = conn.cursor()
|
cur = conn.cursor()
|
||||||
|
|
||||||
cur.execute('select id from feeds where id=(%s)', (id,))
|
cur.execute('select link from feeds where link=(%s)', (link,))
|
||||||
|
|
||||||
row = cur.fetchone()
|
row = cur.fetchone()
|
||||||
if row == None:
|
if row == None:
|
||||||
|
|
Loading…
Referencia en una nova incidència