Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
stechuhr-client
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
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pandemic_Response
stechuhr-client
Commits
ae4a400e
Commit
ae4a400e
authored
4 years ago
by
David Huss
Browse files
Options
Downloads
Patches
Plain Diff
Simplify list handling
parent
ed9eeabb
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
stechuhr_client/client.py
+2
-2
2 additions, 2 deletions
stechuhr_client/client.py
with
2 additions
and
2 deletions
stechuhr_client/client.py
+
2
−
2
View file @
ae4a400e
...
...
@@ -290,7 +290,7 @@ def read_key_input(input_queue, config, logger):
# Buffer to store incoming keys till ENTER (keycode 28) is received
keybuffer
=
[]
last_seen_cards
=
None
last_seen_cards
=
[]
# Loop Forever over the Input
while
True
:
...
...
@@ -320,7 +320,7 @@ def read_key_input(input_queue, config, logger):
if
last_seen_cards
is
None
or
len
(
last_seen_cards
)
==
0
:
if
len
(
last_seen_cards
)
==
0
:
input_queue
.
put
(
joined_string
)
last_seen_cards
.
append
({
"
id
"
:
joined_string
,
"
time
"
:
time
.
time
()})
else
:
...
...
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