Skip to content

Commit

Permalink
Merge pull request #1576 from OpenC3/fixes
Browse files Browse the repository at this point in the history
Fix python sleep and screen formatValue
  • Loading branch information
jmthomas authored Sep 26, 2024
2 parents cda01ab + f77fc4b commit 1f6f7c4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
5 changes: 0 additions & 5 deletions RELEASE.txt

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ export default {
},
formatValue(value) {
if (
value &&
this.valueId &&
(this.valueId.includes('PACKET_TIMEFORMATTED') ||
this.valueId.includes('RECEIVED_TIMEFORMATTED'))
Expand Down
2 changes: 1 addition & 1 deletion openc3-cosmos-script-runner-api/scripts/running_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def _openc3_script_sleep(sleep_time=None):
),
)

if not sleep_time: # Handle infinite wait
if sleep_time is None: # Handle infinite wait
sleep_time = 30000000
if sleep_time > 0.0:
end_time = time.time() + sleep_time
Expand Down

0 comments on commit 1f6f7c4

Please sign in to comment.