Skip to content

Commit

Permalink
Merge pull request #43 from phate999/master
Browse files Browse the repository at this point in the history
Fixed lock_sim()
  • Loading branch information
dapplegatecp authored Sep 29, 2020
2 parents b054b06 + d8b2752 commit bafdb2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Boot2/Boot2.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,8 @@ def lock_sim(self, sim):
rule = {
"_id_": f"0000000{i+1}-1234-1234-1234-123456789000",
"priority": -9 + i,
"trigger_name": f"{self.sims[sim]['info']['port']} {self.sims[sim]['info']['sim']}",
"trigger_string": f"type|is|mdm%sim|is|{self.sims[sim]['info']['sim']}%port|is|{self.sims[sim]['info']['port']}",
"trigger_name": f"{self.sims[uid]['info']['port']} {self.sims[uid]['info']['sim']}",
"trigger_string": f"type|is|mdm%sim|is|{self.sims[uid]['info']['sim']}%port|is|{self.sims[uid]['info']['port']}",
"disabled": True
}
rules.append(rule)
Expand Down

0 comments on commit bafdb2c

Please sign in to comment.