Skip to content

Commit

Permalink
chore(controller): add temporary master to main translation for backw…
Browse files Browse the repository at this point in the history
…ards compatibility
  • Loading branch information
grdddj authored and vdovhanych committed Nov 21, 2023
1 parent 94d6e68 commit b5531e9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,11 @@ def run_emulator_command(self) -> "ResponseType":
version = requested_version
else:
version = binaries.get_main_version("2")

# TEMPORARY: translating `-master` to `-main` because of the firmware branch change
# TODO: revert this after some time
version = version.replace("-master", "-main")

# Model is not compulsory for backwards compatibility purposes
# Is needed now, because TR and TT are sharing the same versions
# (default to the first character in version, which works fine for
Expand Down

0 comments on commit b5531e9

Please sign in to comment.