Missed cpouple of changes

This commit is contained in:
DariusIII
2016-01-18 10:31:25 +01:00
parent 285a7f4052
commit 1b1ca08b9f
2 changed files with 3 additions and 3 deletions
@@ -60,8 +60,8 @@ elif len(sys.argv) == 3 and sys.argv[2].isdigit() and len(sys.argv[2]) == 4:
group_id = 'AND categoryid BETWEEN 7000 AND 7999'
print(bcolors.HEADER + "Using categoryids 7000-7999" + bcolors.ENDC)
elif sys.argv[2] == '0000':
group_id = 'AND categoryid BETWEEN 0000 AND 8999'
print(bcolors.HEADER + "Using categoryids 0000-8999" + bcolors.ENDC)
group_id = 'AND categoryid BETWEEN 0000 AND 0999'
print(bcolors.HEADER + "Using categoryids 0000-0999" + bcolors.ENDC)
else:
group_id = 'AND categoryid = '+sys.argv[2]
print(bcolors.HEADER + "Using categoryid "+sys.argv[2] + bcolors.ENDC)