Skip to content

Commit

Permalink
osfv_cli/rte.py: fix flashing on Sonoff boards
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
  • Loading branch information
macpijan committed Feb 15, 2024
1 parent 76f0ce9 commit 08c557b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osfv_cli/osfv_cli/rte.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ def __init__(self, rte_ip, dut_model, snipeit_api):
self.rte_ip = rte_ip
self.dut_model = dut_model
self.dut_data = self.load_model_data()
self.sonoff, self.sonoff_ip = self.init_sonoff()
self.snipeit_api = snipeit_api
self.sonoff, self.sonoff_ip = self.init_sonoff()

def load_model_data(self):
file_path = os.path.join(files("osfv_cli"), "models", f"{self.dut_model}.yml")
Expand Down

0 comments on commit 08c557b

Please sign in to comment.