You shouldn't assume that just because its not mysql it is sqlite. This should be an elif with a check for sqlite, and a fail if it's not supported (neither).