Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for line in f:
- result = line.split(" ")
- if 'PingWebSocketCM()' in result:
- date = str(result[0] + ' ' + result[1])
- print(date)
- echo = str(result[5:])
- print(echo)
- cursor.execute("INSERT INTO logs VALUES (?, ?)", (echo, date))
- conn.commit()
Advertisement
Add Comment
Please, Sign In to add comment