Fixed the scan error and backup problems
This commit is contained in:
@@ -19,5 +19,10 @@ def create_app():
|
||||
|
||||
# Add 'now' function to Jinja2 globals
|
||||
app.jinja_env.globals['now'] = datetime.now
|
||||
|
||||
# Initialize automatic backup scheduler
|
||||
from app.backup_scheduler import init_backup_scheduler
|
||||
init_backup_scheduler(app)
|
||||
print("✅ Automatic backup scheduler initialized")
|
||||
|
||||
return app
|
||||
Reference in New Issue
Block a user