Made medium and light lists

Fixes for handling multiple subjects and override subject
This commit is contained in:
AIrjen
2023-10-16 20:55:17 +02:00
parent db2c103b60
commit 7de1c077e5
25 changed files with 482 additions and 68 deletions
+2 -1
View File
@@ -50,7 +50,8 @@ def csv_to_list(csvfilename, antilist=[], directory="./csvfiles/", lowerandstrip
full_path = os.path.join(script_dir, directory )
csvfilename = csvfilename + "_light"
replacing = True
if(insanitylevel < 7 and random.randint(0,5) < 4 and replacing == False):
# under 7, than only SOMETIMES take the full list
if(insanitylevel < 7 and random.randint(0,13) < 12 and replacing == False):
for filename in os.listdir(directoryfilesfolder):
if(filename == lightfilename):
# Just override the parameters, and let it run normally