diff --git a/snakemake_storage_plugin_fs/__init__.py b/snakemake_storage_plugin_fs/__init__.py index 5b2b6d7..daaa8d2 100644 --- a/snakemake_storage_plugin_fs/__init__.py +++ b/snakemake_storage_plugin_fs/__init__.py @@ -127,7 +127,7 @@ def latency_wait(f): def wrapper(self, *args, **kwargs): return retry( tries=2, delay=self.provider.settings.latency_wait, logger=get_logger() - )(f) + )(f)(self, *args, **kwargs) return wrapper