Skip to content

Commit

Permalink
replace deprecated readfp
Browse files Browse the repository at this point in the history
  • Loading branch information
fdg committed Sep 5, 2024
1 parent 6b185d7 commit 5ae45c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion losoto/lib_losoto.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def __init__(self, parsetFile):
# add [_global] fake section at beginning
config.write('[_global]\n'+open(parsetFile).read())
config.seek(0, os.SEEK_SET)
self.readfp(config)
self.read_file(config)

def checkSpelling(self, s, soltab, availValues=[]):
"""
Expand Down

0 comments on commit 5ae45c8

Please sign in to comment.