Fixed the database issue
This commit is contained in:
@ -20,6 +20,8 @@ async def init_db():
|
||||
deadline TEXT,
|
||||
status TEXT,
|
||||
priority TEXT,
|
||||
reminder_time DATETIME,
|
||||
reminder_sent BOOLEAN DEFAULT FALSE,
|
||||
FOREIGN KEY(project_id) REFERENCES projects(id))
|
||||
'''
|
||||
)
|
||||
|
@ -2,7 +2,7 @@ import logging
|
||||
from logging.handlers import RotatingFileHandler
|
||||
|
||||
# Setup basic configuration
|
||||
logging.basicConfig(level=logging.DEBUG, # Change to DEBUG for detailed output during development
|
||||
logging.basicConfig(level=logging.ERROR, # Change to DEBUG for detailed output during development
|
||||
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
|
||||
datefmt='%Y-%m-%d %H:%M:%S')
|
||||
|
||||
@ -15,4 +15,4 @@ handler.setFormatter(formatter)
|
||||
# Configure the logger
|
||||
logger = logging.getLogger('Nessa')
|
||||
logger.addHandler(handler)
|
||||
logger.setLevel(logging.DEBUG) # Set to DEBUG for comprehensive logging
|
||||
logger.setLevel(logging.ERROR) # Set to DEBUG for comprehensive logging
|
Reference in New Issue
Block a user