Apr-22-2017, 09:36 PM
(This post was last modified: Apr-22-2017, 09:37 PM by tannishpage.)
I made a very minor error.
FileTypeList was actually coming from a file. Because it had \n at the end of the string the if statement returned false.
Now i did:
I did not post that. My mistake. Sorry.
FileTypeList was actually coming from a file. Because it had \n at the end of the string the if statement returned false.
Now i did:
if FileType.rstrip() in item: BlahThis returns true.
I did not post that. My mistake. Sorry.