Add notes for future development

This commit is contained in:
Fred Boniface 2023-06-01 16:49:47 +01:00
parent 97180f235f
commit 788718f891

View File

@ -29,6 +29,7 @@ log.out(f"main.py: db-manager {version} Initialised", "INFO")
import corpus, mongo, pis, mailer, timetable import corpus, mongo, pis, mailer, timetable
# Ensure count document exists in meta, wrap in while look to prevent crashing if the DB is not ready: # Ensure count document exists in meta, wrap in while look to prevent crashing if the DB is not ready:
# Does this work when the DB is not initialised?
dbReady = False dbReady = False
while dbReady is False: while dbReady is False:
try: try: