diff --git a/requirements.dev.txt b/requirements.dev.txt index 3c5267f6..f344fe58 100644 --- a/requirements.dev.txt +++ b/requirements.dev.txt @@ -21,3 +21,6 @@ types-mock types-requests # Extra stubs google-api-python-client-stubs +# Used for their stubs +zstandard==0.21.0 +python-snappy==0.6.1 diff --git a/rohmu/factory.py b/rohmu/factory.py index 11c52689..71bbb7d6 100644 --- a/rohmu/factory.py +++ b/rohmu/factory.py @@ -68,10 +68,10 @@ def get_transfer_model(storage_config: Config) -> StorageModel: def get_transfer(storage_config: Config) -> BaseTransfer[Any]: storage_config = storage_config.copy() - noitifier_config = storage_config.pop("notifier", None) + notifier_config = storage_config.pop("notifier", None) notifier = None - if noitifier_config is not None: - notifier = get_notifier(noitifier_config) + if notifier_config is not None: + notifier = get_notifier(notifier_config) model = get_transfer_model(storage_config) return get_transfer_from_model(model, notifier)