alliedmodders / sourcepawn

A small, statically typed scripting language.
Other
371 stars 63 forks source link

Update use of Removed ConfigParser.readfp() Function #980

Closed c0rp3n closed 1 week ago

c0rp3n commented 5 months ago

Solution

This was replaced with read_file() in version 3.2. Added a try cactch block around this code so we can delegate through to either version.

Testing

Testing scripts runs correctly with python 3.12.4.

dvander commented 1 week ago

Oh, Python.