[importers] Reorganize importers a little

This commit is contained in:
2025-07-20 16:43:50 -04:00
parent 759caef45d
commit 69401d11c8
6 changed files with 90 additions and 8 deletions

View File

@ -1,5 +1,5 @@
from django.core.management.base import BaseCommand
from vrobbler.apps.scrobbles.imap import process_scrobbles_from_imap
from vrobbler.apps.scrobbles.importers.imap import import_scrobbles_from_imap
class Command(BaseCommand):
@ -11,5 +11,5 @@ class Command(BaseCommand):
)
def handle(self, *args, **options):
count = len(process_scrobbles_from_imap())
count = len(import_scrobbles_from_imap())
print(f"Started {count} IMAP imports")