Temporarily disable adaptive medication check until database migration is run
This commit is contained in:
@@ -406,13 +406,10 @@ def poll_callback():
|
|||||||
f"Could not create adaptive schedules (tables may not exist): {e}"
|
f"Could not create adaptive schedules (tables may not exist): {e}"
|
||||||
)
|
)
|
||||||
|
|
||||||
# Check reminders - try adaptive first, fall back to original
|
# Check reminders - ALWAYS use original check for now
|
||||||
try:
|
# (adaptive check requires database migration)
|
||||||
check_adaptive_medication_reminders()
|
logger.info("Checking medication reminders (using original method)")
|
||||||
except Exception as e:
|
check_medication_reminders()
|
||||||
logger.warning(f"Adaptive medication check failed, using fallback: {e}")
|
|
||||||
# Fall back to original medication check
|
|
||||||
check_medication_reminders()
|
|
||||||
|
|
||||||
# Check for nags
|
# Check for nags
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user