Error in loop with images from excel

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): Mac OS Big Sur 11.3
PsychoPy version (e.g. 1.84.x): Psychopy 3 2021.1.4
Standard Standalone? (y/n) If not then what?: Standard Standalone
What are you trying to achieve?: a simple loop with images from excel

What did you try to make it work?: made sure the settings were exact to a previous working loop

What specifically went wrong when you tried that?:
Include pasted full error message if possible. “That didn’t work” is not enough information.

I have another loop before this point in the experiment that is working fine with the exact same information (importing pictures from excel, with set duration, etc.). The one difference is that this one has two parameters.
It keeps crashing though and this is all I know.

1275.3220 INFO Loaded monitor calibration from [‘2021_05_12 11:04’]
0.3489 WARNING We strongly recommend you activate the PTB sound engine in PsychoPy prefs as the preferred audio engine. Its timing is vastly superior. Your prefs are currently set to use [‘sounddevice’, ‘PTB’, ‘pyo’, ‘pygame’] (in that order).
3.4655 WARNING User requested fullscreen with size [1024 768], but screen is actually [1280, 800]. Using actual size
2021-05-18 12:08:22.797 python[20014:826783] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/5b/55s7g6yd45g87rnk35_qtpjw0000gn/T/org.opensciencetools.psychopy.savedState
Traceback (most recent call last):
File “/Users/Laida/Desktop/Psychopy/”, line 818, in
trialList=data.importConditions(‘Test_images.xlsx’, selection=‘0;9’),
File “/Applications/”, line 457, in importConditions
for n in selection:
TypeError: ‘NoneType’ object is not iterable

Your selection should have a colon, not a semi-colon.

Thank you!