Skip to content

Commit

Permalink
Merge pull request #263 from nurfikri89/typo_fix
Browse files Browse the repository at this point in the history
Fix missing 'not'
  • Loading branch information
mariadalfonso authored Nov 15, 2020
2 parents 1273388 + 7f72ab7 commit 079c9e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/postprocessing/framework/postprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def run(self):
if (self.histFileName is not None and self.histDirName is None) or (self.histFileName is None and self.histDirName is not None):
raise RuntimeError(
"Must specify both histogram file and histogram directory!")
elif self.histFileName is not None and self.histDirName is None:
elif self.histFileName is not None and self.histDirName is not None:
self.histFile = ROOT.TFile.Open(self.histFileName, "RECREATE")
else:
self.histFile = None
Expand Down

0 comments on commit 079c9e1

Please sign in to comment.