ошибка с списками,хз что делать
def SaveConfig():
print('Saving config...')
handle = open('settings.cfg', 'w')
# B1g m3m3
res = str(CheatSettings.noflashkey) + ':' + str(CheatSettings.enablenoflash) + ':' + str(CheatSettings.enablechams)+ ':' + str(CheatSettings.enableglow) + ':' + str(CheatSettings.colorofglow[0])+ ':' + str(CheatSettings.colorofglow[1])+ ':' + str(CheatSettings.colorofglow[2])+ ':' + str(CheatSettings.colorofglow[3]) + ':'+ str(CheatSettings.enableradar) + ':' + str(CheatSettings.enablebhop) + ':' + str(CheatSettings.TriggerKey) + ':' + str(CheatSettings.TriggerEnabled) + ':' + str(CheatSettings.TriggerDelay) + ':' + str(CheatSettings.ForceUpdateKey)+ ':'+ str(CheatSettings.colorofchams[0])+ ':'+ str(CheatSettings.colorofchams[1])+ ':'+ str(CheatSettings.colorofchams[2])+ ':'+ str(CheatSettings.colorofchams[3])
# B1g m3m3
handle.write(res)
handle.close()
File "C:/Users/1/PycharmProjects/py_project/py project beta.py", line 13, in SaveConfig
res = str(CheatSettings.noflashkey) + ':' + str(CheatSettings.enablenoflash) + ':' + str(CheatSettings.enablechams)+ ':' + str(CheatSettings.enableglow) + ':' + str(CheatSettings.colorofglow[0])+ ':' + str(CheatSettings.colorofglow[1])+ ':' + str(CheatSettings.colorofglow[2])+ ':' + str(CheatSettings.colorofglow[3]) + ':'+ str(CheatSettings.enableradar) + ':' + str(CheatSettings.enablebhop) + ':' + str(CheatSettings.TriggerKey) + ':' + str(CheatSettings.TriggerEnabled) + ':' + str(CheatSettings.TriggerDelay) + ':' + str(CheatSettings.ForceUpdateKey)+ ':'+ str(CheatSettings.colorofchams[0])+ ':'+ str(CheatSettings.colorofchams[1])+ ':'+ str(CheatSettings.colorofchams[2])+ ':'+ str(CheatSettings.colorofchams[3])
IndexError: list index out of range