Skip to content

Commit 7553c65

Browse files
authored
Visual Update
1 parent d9768e2 commit 7553c65

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

sqlite_table_check.py

+10-10
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
import sys
1414
import os
1515

16-
dropbox= os.getenv("dropbox")
17-
config=os.getenv("my_config")
18-
dbfile=("Databases\jarvis.db")
19-
listfile=("sqlite_master_table.lst")
20-
master_db=os.path.join(dropbox, dbfile)
21-
config_file=os.path.join(config, listfile)
22-
tablelist=open(config_file,'r');
23-
24-
conn = sqlite3.connect(master_db)
16+
dropbox = os.getenv("dropbox")
17+
config = os.getenv("my_config")
18+
dbfile = ("Databases\jarvis.db")
19+
listfile = ("sqlite_master_table.lst")
20+
master_db = os.path.join(dropbox, dbfile)
21+
config_file = os.path.join(config, listfile)
22+
tablelist = open(config_file,'r');
23+
24+
conn = sqlite3.connect(master_db)
2525
cursor = conn.cursor()
2626
cursor.execute('SELECT SQLITE_VERSION()')
2727
data = cursor.fetchone()
@@ -44,4 +44,4 @@
4444
print ('[+] Table : ' + table.strip() + ' exists [+]')
4545
else:
4646
print ('[-] Table : ' + table.strip() + ' does not exist [-]')
47-
47+

0 commit comments

Comments
 (0)