Fix deprecation warning

This has happened before.  I think it's something to do with working on
different machines where different errors come up.