Replace ConfigParser's readfp with read_file
authorJeremy Stanley <fungi@yuggoth.org>
Wed, 8 May 2024 02:15:44 +0000 (02:15 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Wed, 8 May 2024 02:15:44 +0000 (02:15 +0000)
commitfc5a61d2b2ea632a1515384443bc644aef0d2765
treea5e09897bf251390d93a2593e5db84c141b7f54e
parent757b9658f985fb0ad05613bee174c3570cdcf9bd
Replace ConfigParser's readfp with read_file

Python 3.12 drops the deprecated readfp method from ConfigParser, so
use the newer read_file method instead.
weather.py