mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-01 10:48:53 +00:00
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:
@@ -31,7 +31,7 @@ if int(allowed[0]) == 0:
|
||||
info.disconnect(cur[0], cur[1])
|
||||
sys.exit()
|
||||
|
||||
cur[0].execute("SELECT ID FROM groups WHERE active = 1 ORDER by cast(last_record as signed) - cast(first_record as signed) DESC")
|
||||
cur[0].execute("SELECT id FROM groups WHERE active = 1 ORDER by cast(last_record as signed) - cast(first_record as signed) DESC")
|
||||
datas = cur[0].fetchall()
|
||||
|
||||
#close connection to mysql
|
||||
|
||||
Reference in New Issue
Block a user