adhere to comments

This commit is contained in:
unknown
2020-02-18 15:03:58 +01:00
parent 0245e47a74
commit 2251747281
2 changed files with 3 additions and 4 deletions

View File

@@ -70,9 +70,9 @@ class Importer:
class CollectionImporter(Importer):
def __init__(self, notification_partialy_finished, *args):
def __init__(self, notification_partially_finished, *args):
super().__init__(*args)
self._notification_partial_finished = notification_partialy_finished
self._notification_partially_finished = notification_partially_finished
async def _import_element(self, id_, context_):
try:

View File

@@ -15,8 +15,8 @@ from galaxy.api.types import (
from galaxy.task_manager import TaskManager
from galaxy.api.importer import Importer, CollectionImporter
logger = logging.getLogger(__name__)
logger = logging.getLogger(__name__)
class JSONEncoder(json.JSONEncoder):
@@ -116,7 +116,6 @@ class Plugin:
)
self._subscription_games_importer = CollectionImporter(
self._subscriptions_games_partial_import_finished,
self._external_task_manager,
"subscription games",
self.get_subscription_games,