Skip to content

Commit

Permalink
chore: Update remove_expired_users.py to use app module's logger.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alirezaja1384 committed Jul 14, 2024
1 parent 8cf6440 commit 107bc6c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/jobs/remove_expired_users.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import logging
from app import scheduler
from app import logger, scheduler
from app.db import GetDB, crud
from app.models.admin import Admin
from config import USER_AUTODELETE_INCLUDE_LIMITED_ACCOUNTS
from app.utils import report
from app.jobs.utils import SYSTEM_ADMIN

logger = logging.getLogger(__name__)
from config import USER_AUTODELETE_INCLUDE_LIMITED_ACCOUNTS


def remove_expired_users():
Expand Down

0 comments on commit 107bc6c

Please sign in to comment.