Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
flow3r firmware
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
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
flow3r
flow3r firmware
Commits
0c9a578f
Commit
0c9a578f
authored
1 year ago
by
moon2
Browse files
Options
Downloads
Patches
Plain Diff
delete l8r
parent
a9fd86c8
No related branches found
No related tags found
1 merge request
!661
Draft: return of melodic demo
Pipeline
#13139
passed
6 months ago
Stage: check
Stage: build
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
python_payload/apps/demo_melodic/pages.py
+4
-1
4 additions, 1 deletion
python_payload/apps/demo_melodic/pages.py
with
4 additions
and
1 deletion
python_payload/apps/demo_melodic/pages.py
+
4
−
1
View file @
0c9a578f
...
@@ -364,10 +364,13 @@ class AudioModuleSelectPage(Page):
...
@@ -364,10 +364,13 @@ class AudioModuleSelectPage(Page):
return
isinstance
(
s
,
t
)
return
isinstance
(
s
,
t
)
if
not
module_target_in_slot
(
self
.
slot_pages
[
slot
],
module_target
):
if
not
module_target_in_slot
(
self
.
slot_pages
[
slot
],
module_target
):
deletee
=
None
if
self
.
slot_pages
[
slot
]
is
not
None
:
if
self
.
slot_pages
[
slot
]
is
not
None
:
self
.
slot_pages
[
slot
]
.
delete
()
deletee
=
self
.
slot_pages
[
slot
]
self
.
slot_pages
[
slot
]
=
None
self
.
slot_pages
[
slot
]
=
None
self
.
_insert_module
(
module_target
,
slot
)
self
.
_insert_module
(
module_target
,
slot
)
if
deletee
:
deletee
.
delete
()
self
.
_update_parent
()
self
.
_update_parent
()
self
.
_update_module_index
()
self
.
_update_module_index
()
...
...
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