Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Debugging Gitlab issue fix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Phileas
Debugging Gitlab issue fix
Commits
59b95c5a
Commit
59b95c5a
authored
1 year ago
by
ave
Browse files
Options
Downloads
Patches
Plain Diff
updat3r: account for long release names
parent
f1977870
No related branches found
No related tags found
1 merge request
!641
updat3r: account for long release names
Pipeline
#12619
passed
1 year ago
Stage: check
Stage: build
Stage: deploy
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
python_payload/apps/updat3r/__init__.py
+2
-2
2 additions, 2 deletions
python_payload/apps/updat3r/__init__.py
with
2 additions
and
2 deletions
python_payload/apps/updat3r/__init__.py
+
2
−
2
View file @
59b95c5a
...
...
@@ -83,7 +83,7 @@ class UpdaterApp(Application):
self
.
_sd_failed
=
False
if
self
.
_sd_present
:
self
.
_state_text
=
"
getting latest version...
"
self
.
_state_text
=
"
getting latest version...
\n\n
(check your connection
\n
if you
'
re stuck here)
"
if
not
st3m
.
wifi
.
enabled
()
or
(
not
st3m
.
wifi
.
is_connected
()
and
not
st3m
.
wifi
.
is_connecting
()
...
...
@@ -145,7 +145,7 @@ class UpdaterApp(Application):
latest_version_number
=
self
.
version_to_number
(
self
.
selected_version
[
"
tag
"
].
replace
(
"
v
"
,
""
)
)
self
.
_state_text
=
f
"
latest version:
{
self
.
selected_version
[
'
name
'
]
}
"
self
.
_state_text
=
f
"
latest version:
\n
{
self
.
selected_version
[
'
name
'
]
}
"
if
latest_version_number
>
self
.
_firmware_version_number
:
self
.
_state_text
+=
(
"
\n\n
press app shoulder button
\n
to start downloading
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment