Fixed warning message when trying to call random.seed function