comment this out for now
This commit is contained in:
parent
ad101251bb
commit
a9b8d923ba
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue