Skip to content

Commit

Permalink
Merge pull request #306 from KoffieNu/master
Browse files Browse the repository at this point in the history
Bug #296: python 3.12 compability
  • Loading branch information
julienfortin authored Jul 9, 2024
2 parents ccdc386 + fc03183 commit 9d46313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ifupdown2/ifupdown/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def read_config(self):
configStr = '[ifupdown2]\n' + config
configFP = io.StringIO(configStr)
parser = configparser.RawConfigParser()
parser.readfp(configFP)
parser.read_file(configFP)
configmap_g = dict(parser.items('ifupdown2'))

# Preprocess config map
Expand Down

0 comments on commit 9d46313

Please sign in to comment.