File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 13
13
import sys
14
14
import os
15
15
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 )
25
25
cursor = conn .cursor ()
26
26
cursor .execute ('SELECT SQLITE_VERSION()' )
27
27
data = cursor .fetchone ()
44
44
print ('[+] Table : ' + table .strip () + ' exists [+]' )
45
45
else :
46
46
print ('[-] Table : ' + table .strip () + ' does not exist [-]' )
47
-
47
+
You can’t perform that action at this time.
0 commit comments