Skip to content

Commit

Permalink
fix regression in glossary_v2.py effecting deprecated Glossary usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ilius committed Dec 31, 2024
1 parent c25bffd commit 47cf7e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyglossary/glossary_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ def _read(

filename = os.path.abspath(filename)
###
inputArgs = self.detectInputFormat(filename, formatName=formatName)
inputArgs = PluginManager.detectInputFormat(filename, formatName=formatName)
origFilename = filename
filename, formatName, compression = inputArgs

Expand Down Expand Up @@ -1203,7 +1203,7 @@ def convertV2(self, args: ConvertArgs) -> str:

tm0 = now()

outputFilename, outputFormat, compression = self.detectOutputFormat(
outputFilename, outputFormat, compression = PluginManager.detectOutputFormat(
filename=args.outputFilename,
formatName=args.outputFormat,
inputFilename=args.inputFilename,
Expand Down

0 comments on commit 47cf7e5

Please sign in to comment.