comment this out for now

This commit is contained in:
Christine Dodrill 2016-02-12 11:35:05 -08:00
parent ad101251bb
commit a9b8d923ba
1 changed files with 6 additions and 5 deletions

View File

@ -74,11 +74,12 @@ proc updateTweetsByUser*(db: DBConn, username, url: string) {. gcsafe .} =
counter = counter + 1
except: discard
if counter > 0:
let
msg = "Added " & $counter & " tweets from @<" & username & " " & url & ">"
now = getTime().toSeconds()
when false:
if counter > 0:
let
msg = "Added " & $counter & " tweets from @<" & username & " " & url & ">"
now = getTime().toSeconds()
db.exec(sql"insert into tweets values(null, 'twtxtlist', ?, ?);", now, msg)
db.exec(sql"insert into tweets values(null, 'twtxtlist', ?, ?);", now, msg)
except:
echo username & " " & getCurrentExceptionMsg()