import sys
import os
import logging

current_dir = os.path.dirname(os.path.abspath(__file__))
pathtoapp = os.path.join(current_dir, 'checklist')  # Adjust this if your app is in a different folder
sys.path.insert(0, pathtoapp)

from app import app as application