From a9b8d923ba9baa85982fa2496dd7e8718857ec3a Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Fri, 12 Feb 2016 11:35:05 -0800 Subject: [PATCH] comment this out for now --- src/twtxt.nim | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/twtxt.nim b/src/twtxt.nim index d4abdf2..fa8ee38 100644 --- a/src/twtxt.nim +++ b/src/twtxt.nim @@ -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()