update for mongo tls
This commit is contained in:
parent
302c4646db
commit
b2f1905e43
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ def main():
|
||||||
print(f"Error: mileage entries must have exactly 2 files (start + end odometer), got {len(files)}")
|
print(f"Error: mileage entries must have exactly 2 files (start + end odometer), got {len(files)}")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
client = MongoClient("mongodb://root:3wwfoUjyk2E2zWELXFlLuHqfw1ALlOp4pb2H5Vq3TImbMIHL2h1u8Jej2mjzCPl@docdb.connorrhodes.com:35563")
|
client = MongoClient("mongodb://root:3wwfoUjyk2E2zWELXFlLuHqfw1ALlOp4pb2H5Vq3TImbMIHL2h1u8Jej2mjzCPl@docdb.connorrhodes.com:35563?tls=true&tlsAllowInvalidCertificates=true")
|
||||||
db = client["wip"]
|
db = client["wip"]
|
||||||
col = db["work_expenses"]
|
col = db["work_expenses"]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue