[importers] Reorganize importers a little
This commit is contained in:
@ -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")
|
||||
|
||||
Reference in New Issue
Block a user