Skip to content

Commit

Permalink
fix string comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
Norraphat committed May 29, 2021
1 parent 7259b4d commit d1a025c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -915,7 +915,7 @@ def setup_(self, step, stepName, stepDict, k, properties):
d = merge([stepDict[self.getStepName(step)][k]])
tmpsteps = []
for s in d["-s"].split(","):
if s == "DIGI:pdigi_valid" in s:
if "DIGI:pdigi_valid" in s:
tmpsteps.append("DIGI")
else:
tmpsteps.append(s)
Expand Down

0 comments on commit d1a025c

Please sign in to comment.