Nah.
I've been with black guys followed by white guys a few weeks later, so... yeah, false :P
Not sure how you thought it was actually true and there's some kind of secret hard-wired thing in everyone's brains that makes it impossible for them to have sex with white people after having sex with black people!