Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
df-aggregator
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Oleksandr Barabash
df-aggregator
Commits
029185e3
Commit
029185e3
authored
Nov 18, 2020
by
Corey Koval
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added some error handling.
parent
e8c301bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
df-aggregator.py
df-aggregator.py
+10
-7
No files found.
df-aggregator.py
View file @
029185e3
...
...
@@ -405,13 +405,16 @@ def update_cesium():
elif
request
.
query
.
plotpts
==
"false"
:
ms
.
plotintersects
=
False
if
request
.
query
.
ismobile
:
rx_index
=
int
(
request
.
query
.
ismobile
)
receivers
[
rx_index
]
.
isMobile
=
True
if
request
.
query
.
isnotmobile
:
rx_index
=
int
(
request
.
query
.
isnotmobile
)
receivers
[
rx_index
]
.
isMobile
=
False
try
:
if
request
.
query
.
ismobile
:
rx_index
=
int
(
request
.
query
.
ismobile
)
receivers
[
rx_index
]
.
isMobile
=
True
if
request
.
query
.
isnotmobile
:
rx_index
=
int
(
request
.
query
.
isnotmobile
)
receivers
[
rx_index
]
.
isMobile
=
False
except
IndexError
:
print
(
"I got some bad data. Doing nothing out of spite."
)
write_czml
(
*
process_data
(
database_name
,
geofile
))
return
"OK"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment