Skip to content

Commit 42e4ae5

Browse files
nheebpoikilotherm
authored andcommitted
dataverse small fix
1 parent ae1e492 commit 42e4ae5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hermes/commands/deposit/dataverse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ def __init__(self, command, ctx) -> None:
3838
Tests if everything is valid and creates an easyDataverse client.
3939
"""
4040
super().__init__(command, ctx)
41+
self.ctx_path = ContextPath.parse(f"deposit.{self.platform_name}")
4142
self.config = getattr(self.command.settings, self.platform_name)
4243
self.check_if_all_valid()
4344
self.client = Dataverse(server_url=self.config.site_url, api_token=self.config.api_token)
44-
self.ctx_path = ContextPath.parse(f"deposit.{self.platform_name}")
4545

4646
def check_if_all_valid(self) -> None:
4747
"""

0 commit comments

Comments
 (0)