Don't use ternary if/else, not compatible with old Pythons