Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
aart_ppe_detection
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rahul
aart_ppe_detection
Commits
eb2b2ac2
Commit
eb2b2ac2
authored
Jan 26, 2023
by
rahul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update infocenter.py
parent
6f65abf6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
scripts/utils/infocenter.py
scripts/utils/infocenter.py
+1
-1
No files found.
scripts/utils/infocenter.py
View file @
eb2b2ac2
...
@@ -52,7 +52,7 @@ class MongoLogger:
...
@@ -52,7 +52,7 @@ class MongoLogger:
"logged_activity"
:
data
[
"activity"
],
"logged_activity"
:
data
[
"activity"
],
"frame_id"
:
data
[
"frame_id"
]}
"frame_id"
:
data
[
"frame_id"
]}
if
os
.
environ
.
get
(
'app'
)
is
not
None
:
if
os
.
environ
.
get
(
'app'
)
is
not
None
:
input_data
[
'app'
]
=
os
.
environ
.
get
(
'app'
)
input_data
[
'app'
]
=
'aarti_ppe'
logger
.
info
(
"Pushing to Mongo.."
)
logger
.
info
(
"Pushing to Mongo.."
)
self
.
attendance_event_collection
.
insert_one
(
input_data
)
self
.
attendance_event_collection
.
insert_one
(
input_data
)
...
...
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