Skip to content

Commit

Permalink
Merge pull request #1105 from Alirezaja1384/user-autodelete-logger
Browse files Browse the repository at this point in the history
chore: Update remove_expired_users.py to use app module's logger.
  • Loading branch information
SaintShit authored Jul 15, 2024
2 parents 0e0e0e5 + 107bc6c commit 4773a44
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 4773a44

Please sign in to comment.