faraday / wikiprep-esa

ESA implementation using Wikiprep output

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug in sanLinks.py

NingZhangPurdue opened this issue · comments

I confronted with a problem of "int object not iterable" when execute scanLink.py. The exeption is from line 104 and turns out its because (_id) is regarded as int object instead of a tuple with one element.

(_id,) helps solve the problem.

Thx.

I was able to solve it changing it to be
if linkBuflen >= 10000:
for temp_id in nsBuffe
cursor.execute("INSERT INTO namespace (id) VALUES ("+str(temp_id)+")")