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 counter = counter + 1
except: discard except: discard
if counter > 0: when false:
let if counter > 0:
msg = "Added " & $counter & " tweets from @<" & username & " " & url & ">" let
now = getTime().toSeconds() 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: except:
echo username & " " & getCurrentExceptionMsg() echo username & " " & getCurrentExceptionMsg()