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
|
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()
|
||||||
|
|
Loading…
Reference in New Issue