psychopy.org | Reference | Downloads | Github

Unable to select numbers for AllowedKeys function from .CSV file

I am trying ti use a conditions file which contains a column called keysallowed and in here on each line is the allowed key for that loop instance. When this contains characters ther eis not an issue, however when i swap characters to numbers and run the psychopy experiment it gives me an error saying keysallowed variable is not string or list-like. I have tried everything i have been able to locate using google to no avail, basic things like creating a .txt file and importing into excel.

If anyone has any suggestions it would be greatly appreciated as i am truly stumped.