Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
chadskelton committed Jun 26, 2019
1 parent 7803f7f commit 293110f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -45,7 +45,7 @@ def tweetit(record): # both decides to tweet and whether to add to table
else:
CitationText = record["citation"]

query = "SELECT count(*) FROM swdata WHERE url = '" + record["url"] + "'"
query = "SELECT count(*) FROM data WHERE url = '" + record["url"] + "'"
count = scraperwiki.sqlite.execute(query)
countcheck = count['data'][0][0]
if countcheck > 0:
Expand Down

0 comments on commit 293110f

Please sign in to comment.