Modify merge result to get (hopefully) valid Python 3
This commit is contained in:
parent
3a5bd76e05
commit
ebc4b87952
1 changed files with 2 additions and 2 deletions
4
csvdb.py
4
csvdb.py
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
print "This script is not working yet... If you are trying to test it, please delete lines 3 to 5 of this file."
|
||||
print("This script is not working yet... If you are trying to test it, please delete lines 3 to 5 of this file.")
|
||||
import sys
|
||||
sys.exit(0)
|
||||
|
||||
|
@ -22,4 +22,4 @@ except sqlite3.OperationalError:
|
|||
print("Database.db already exists. Please delete it before trying to create a new one.")
|
||||
|
||||
for row in input[1:]:
|
||||
cur.execute("INSERT INTO tweets VALUES(?,?,?,?,?,?,?,?,?,?);",row)
|
||||
cur.execute("INSERT INTO tweets VALUES(?,?,?,?,?,?,?,?,?,?);",row)
|
||||
|
|
Loading…
Reference in a new issue