Neil-YL commited on
Commit
c68216d
·
verified ·
1 Parent(s): 080a699

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py CHANGED
@@ -8,6 +8,16 @@ import secrets
8
  from well_status_utils import find_unused_wells, update_used_wells
9
 
10
 
 
 
 
 
 
 
 
 
 
 
11
  # Task Queue
12
  task_queue = Queue()
13
  result_queue = Queue()
 
8
  from well_status_utils import find_unused_wells, update_used_wells
9
 
10
 
11
+
12
+ import os
13
+
14
+ MONGODB_PASSWORD = os.getenv("MONGODB_PASSWORD")
15
+ print("MONGODB_PASSWORD" = MONGODB_PASSWORD)
16
+ blinded_connection_string = os.getenv("blinded_connection_string")
17
+ print("blinded_connection_string" = blinded_connection_string)
18
+ connection_string = blinded_connection_string.replace("<db_password>", MONGODB_PASSWORD)
19
+ print("connection_string" = connection_string)
20
+
21
  # Task Queue
22
  task_queue = Queue()
23
  result_queue = Queue()