First batch of updates to rename all the columns to lower case and scripts to use that kind of naming.

This commit is contained in:
Darko
2015-03-18 14:28:22 +01:00
parent 6379b12579
commit 96626bc8c2
246 changed files with 2991 additions and 2927 deletions
+2 -2
View File
@@ -36,13 +36,13 @@ print(bcolors.HEADER + "\nBinaries Threaded Started at {}".format(datetime.datet
#get active groups
if len(sys.argv) == 2:
try:
cur[0].execute("SELECT name FROM groups WHERE ID IN " + sys.argv[1])
cur[0].execute("SELECT name FROM groups WHERE id IN " + sys.argv[1])
datas = cur[0].fetchall()
except:
cur[0].execute("SELECT name FROM groups WHERE name = '" + sys.argv[1] + "'")
datas = cur[0].fetchall()
if len(datas) == 0:
cur[0].execute("SELECT name FROM groups WHERE ID = " + sys.argv[1])
cur[0].execute("SELECT name FROM groups WHERE id = " + sys.argv[1])
datas = cur[0].fetchall()
if len(datas) == 0:
print(bcolors.ERROR + "No Active Groups" + bcolors.ENDC)