Skip to content

Commit

Permalink
Fix casc_extract on Python >= 3.12 (configparser.readfp -> `read_fi…
Browse files Browse the repository at this point in the history
…le`)
  • Loading branch information
micolous committed Mar 3, 2025
1 parent 1df599c commit 80a52ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion casc_extract/build_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def open(self):
# Slight hack to get the configuration file read easily
conf_str = '[base]\n' + open(build_cfg_path, 'r').read()
conf_str_fp = io.StringIO(conf_str)
self.cfg.readfp(conf_str_fp)
self.cfg.read_file(conf_str_fp)

print(f'Wow build: {build_version}')

Expand Down

0 comments on commit 80a52ee

Please sign in to comment.