My whole filament spool fell of

My filament spool fell of while printing failing the print. I fixed it with a random part I found that fitted pefectly.