Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CS Fancy Clock
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TheJoeCoder
CS Fancy Clock
Commits
303f207c
Verified
Commit
303f207c
authored
10 months ago
by
TheJoeCoder
Browse files
Options
Downloads
Patches
Plain Diff
Fix logic error
parent
6b8154b3
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
main.py
+2
-1
2 additions, 1 deletion
main.py
with
2 additions
and
1 deletion
main.py
+
2
−
1
View file @
303f207c
import
threading
import
time
import
queue
import
base64
import
pygame
from
flask
import
request
,
Flask
,
Response
,
Request
...
...
@@ -93,7 +94,7 @@ def wr_set_widget():
"
error
"
:
"
No widget provided
"
},
400
)
if
widget_name
not
in
PROP_AVAILABLE_
PATTERN
S
:
if
widget_name
not
in
PROP_AVAILABLE_
WIDGET
S
:
return
json_response
({
"
error
"
:
f
"
Widget
{
widget_name
}
is not available
"
},
400
)
...
...
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