Skip to content

Commit

Permalink
Update postprocessor.py
Browse files Browse the repository at this point in the history
  • Loading branch information
iarspider authored Nov 10, 2024
1 parent 2453221 commit c0970db
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@ def run(self):
(algo, level) = self.compression.split(":")
compressionLevel = int(level)
if algo == "LZMA":
compressionAlgo = ROOT.ROOT.kLZMA
compressionAlgo = ROOT.RCompressionSetting.EAlgorithm.kLZMA
elif algo == "ZLIB":
compressionAlgo = ROOT.ROOT.kZLIB
compressionAlgo = ROOT.RCompressionSetting.EAlgorithm.kZLIB
elif algo == "LZ4":
compressionAlgo = ROOT.ROOT.kLZ4
compressionAlgo = ROOT.RCompressionSetting.EAlgorithm.kLZ4
else:
raise RuntimeError("Unsupported compression %s" % algo)
else:
Expand Down

0 comments on commit c0970db

Please sign in to comment.