Commit 4b70874e authored by Francesco Poldi's avatar Francesco Poldi

Fixed

parent 71096ca6
...@@ -325,6 +325,7 @@ async def main(): ...@@ -325,6 +325,7 @@ async def main():
if arg.limit is not None and num <= int(arg.limit): if arg.limit is not None and num <= int(arg.limit):
break break
if arg.database:
cursor = conn.cursor() cursor = conn.cursor()
entry = (str(arg.u), str(datetime.datetime.now()), num,) entry = (str(arg.u), str(datetime.datetime.now()), num,)
cursor.execute('INSERT OR REPLACE INTO users VALUES(?,?,?)', entry) cursor.execute('INSERT OR REPLACE INTO users VALUES(?,?,?)', entry)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment